Documentation
¶
Index ¶
Constants ¶
View Source
const MD5URL = "http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.md5"
View Source
const URL = "http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz"
Variables ¶
This section is empty.
Functions ¶
func ImplicitPath ¶
func ImplicitPath() string
Types ¶
type GeoIP ¶
type GeoIP struct { Path string `short:"p" long:"path" description:"Path to maxmind GeoIP database (default config)"` Field string `short:"f" long:"field" description:"Field containing an ip to calculate geo information from"` Strict bool `short:"s" long:"strict" description:"Error out rather than ignore problems calculate the geoip info"` All bool `short:"a" long:"all" description:"Include all geo information"` // contains filtered or unexported fields }
func (*GeoIP) Description ¶
Click to show internal directories.
Click to hide internal directories.