package
0.0.0-20211215215226-4cdd4fd2847b
Repository: https://github.com/getlantern/goexpr.git
Documentation: pkg.go.dev
# Functions
CITY returns the city name for the IP, e.g.
COUNTRY_CODE returns the 2 digit ISO country code for the ip, e.g.
Init initializes the Geolocation subsystem, storing the database file at the given dbFile location.
REGION returns the region name for the IP, e.g.
REGION_CITY returns the region and city name for the IP, e.g.
# Constants
DefaultCacheSize determines the default size for the ip cache.