Name: resolve-ip
Owner: Clever
Description: service that takes in an IP address and converts it to a latitude and longitude
Created: 2016-03-17 19:06:47.0
Updated: 2018-05-23 23:27:13.0
Pushed: 2018-05-23 23:27:12.0
Homepage: null
Size: 68570
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
resolve-ip
is a service that takes in an IP address and converts it to a latitude and longitude.
It includes GeoLite data created by MaxMind, available from
http://www.maxmind.com.
GET /healthcheck
Returns a 200, used for load balancing healthchecks
GET /ip/{ip}
If the IP address is found in the data set, it returns a 200 and a JSON body of the form:
t":37.3394,"lon":-121.895}
If the IP address isn't found, it returns a 404.