Documentation ¶
Index ¶
Constants ¶
View Source
const ( Browser = "Unknown" BrowserVersion = "Unknown" Os = "Unknown" Device = "Unknown" )
Variables ¶
This section is empty.
Functions ¶
func IsValidIPv4 ¶
IsValidIPv4 checks if the provided string is a valid IPv4 address.
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"` }
func QueryWithKey ¶
Click to show internal directories.
Click to hide internal directories.