mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-21 07:28:10 -07:00
scrape+stats foundation; restructuring
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user