Documentation ¶
Overview ¶
borrowed from https://github.com/d4l3k/go-sct/blob/master/geoip/geoip.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GeoIP ¶
type GeoIP struct { // The right side is the name of the JSON variable IP string `json:"ip"` CountryCode string `json:"country_code"` CountryName string `json:"country_name"` RegionCode string `json:"region_code"` RegionName string `json:"region_name"` City string `json:"city"` Zipcode string `json:"zipcode"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` MetroCode int `json:"metro_code"` AreaCode int `json:"area_code"` }
GeoIP payload.
Click to show internal directories.
Click to hide internal directories.