Add new geoip metadata fields
This commit is contained in:
@@ -26,6 +26,9 @@ type Location struct {
|
|||||||
Coordinates Coordinates `maxminddb:"location"`
|
Coordinates Coordinates `maxminddb:"location"`
|
||||||
AutonomousSystemNumber uint `maxminddb:"autonomous_system_number"`
|
AutonomousSystemNumber uint `maxminddb:"autonomous_system_number"`
|
||||||
AutonomousSystemOrganization string `maxminddb:"autonomous_system_organization"`
|
AutonomousSystemOrganization string `maxminddb:"autonomous_system_organization"`
|
||||||
|
IsAnycast bool `maxminddb:"is_anycast"`
|
||||||
|
IsSatelliteProvider bool `maxminddb:"is_satellite_provider"`
|
||||||
|
IsAnonymousProxy bool `maxminddb:"is_anonymous_proxy"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Coordinates holds geographic coordinates and their estimated accuracy.
|
// Coordinates holds geographic coordinates and their estimated accuracy.
|
||||||
|
|||||||
Reference in New Issue
Block a user