Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateGeoLocationInfo ¶
func UpdateGeoLocationInfo(d map[string]interface{}, g *GeoIPCollector) error
Types ¶
type GeoIPCollector ¶
type GeoIPCollector struct { CityDB *geoip2.Reader ASNDB *geoip2.Reader Default_Lat float64 Default_Long float64 }
func NewGeoIPCollector ¶
func (*GeoIPCollector) Lookup ¶
func (g *GeoIPCollector) Lookup(ip net.IP) GeoLocation
Click to show internal directories.
Click to hide internal directories.