Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct {
IP string `json:"ip"`
City string `json:"city"`
Region string `json:"region"`
RegionCode string `json:"region_code"`
Country string `json:"country"`
CountryCode string `json:"country_code"`
CountryCodeIso3 string `json:"country_code_iso3"`
CountryCapital string `json:"country_capital"`
CountryTld string `json:"country_tld"`
CountryName string `json:"country_name"`
ContinentCode string `json:"continent_code"`
InEu bool `json:"in_eu"`
Postal string `json:"postal"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Timezone string `json:"timezone"`
UtcOffset string `json:"utc_offset"`
CountryCallingCode string `json:"country_calling_code"`
Currency string `json:"currency"`
CurrencyName string `json:"currency_name"`
Languages string `json:"languages"`
CountryArea float64 `json:"country_area"`
CountryPopulation float64 `json:"country_population"`
Asn string `json:"asn"`
Org string `json:"org"`
}
Response from https://ipapi.co
Click to show internal directories.
Click to hide internal directories.