Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadASNDB ¶
func DownloadASNDB() error
func DownloadAllDB ¶
func DownloadAllDB()
func DownloadCityDB ¶
func DownloadCityDB() error
func DownloadCountryDB ¶
func DownloadCountryDB() error
func GetDBFilePath ¶
func RunDBDownloadJob ¶
func RunDBDownloadJob()
Types ¶
type IPASN ¶
type IPCity ¶
type IPCountry ¶
type IPCountry struct {
IP string `json:"ip"`
Country string `json:"country"`
Continent string `json:"continent"`
ISOCountryCode string `json:"iso_country_code"`
ISOContinentCode string `json:"iso_continent_code"`
IsAnonymousProxy bool `json:"is_anonymous_proxy"`
IsSatelliteProvider bool `json:"is_satellite_provider"`
}
func IP2Country ¶
Click to show internal directories.
Click to hide internal directories.