scrape+stats foundation; restructuring

This commit is contained in:
Jimmy Zelinskie
2013-06-23 03:56:28 -04:00
parent 1bc42063ab
commit ccc8897ca8
7 changed files with 235 additions and 93 deletions
+1
View File
@@ -124,6 +124,7 @@ func validateParsedQuery(pq *parsedQuery) error {
return nil
}
// TODO IPv6 support
func (pq *parsedQuery) determineIP(r *http.Request) (string, error) {
ip, ok := pq.params["ip"]
if !ok {