Documentation
¶
Index ¶
Constants ¶
View Source
const ( Browser = "Unknown" BrowserVersion = "Unknown" Os = "Unknown" Device = "Unknown" )
View Source
const ( IPLocation = "IPLocation" IPInfos = "IPInfos" )
Variables ¶
This section is empty.
Functions ¶
func ExpandIPv6 ¶
ExpandIPv6 from 2a09:bac2:a919:8c::e:2d2 to 2a09:bac2:a919:008c:0000:0000:000e:02d2
func ExpandIPv6Ptr ¶
Types ¶
type IPInfo ¶
type IPInfo struct {
IP string `json:"ip"`
CountryCode string `json:"country_code"`
CountryName string `json:"country_name"`
RegionName string `json:"region_name"`
CityName string `json:"city_name"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
ZipCode string `json:"zip_code"`
TimeZone string `json:"time_zone"`
Asn string `json:"asn"`
As string `json:"as"`
IsProxy bool `json:"is_proxy"`
}
Click to show internal directories.
Click to hide internal directories.