Documentation ¶
Index ¶
- Variables
- func LtdCodeToCountryOrAreaName(Code string) string
- type IPGeoData
- func Chunzhen(ip string) (*IPGeoData, error)
- func DN42(ip string) (*IPGeoData, error)
- func Filter(ip string) (*IPGeoData, bool)
- func IP2Region(ip string) (*IPGeoData, error)
- func IPApiCom(ip string) (*IPGeoData, error)
- func IPInSight(ip string) (*IPGeoData, error)
- func IPInfo(ip string) (*IPGeoData, error)
- func IPInfoLocal(ip string) (*IPGeoData, error)
- func IPSB(ip string) (*IPGeoData, error)
- func LeoIP(ip string) (*IPGeoData, error)
- type IPPool
- type Source
Constants ¶
This section is empty.
Variables ¶
View Source
var IPPools = IPPool{ // contains filtered or unexported fields }
Functions ¶
Types ¶
type IPGeoData ¶
type IPGeoData struct { IP string `json:"ip"` Asnumber string `json:"asnumber"` Country string `json:"country"` CountryEn string `json:"country_en"` Prov string `json:"prov"` ProvEn string `json:"prov_en"` City string `json:"city"` CityEn string `json:"city_en"` District string `json:"district"` Owner string `json:"owner"` Isp string `json:"isp"` Domain string `json:"domain"` Whois string `json:"whois"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Prefix string `json:"prefix"` Router map[string][]string `json:"router"` Source string `json:"source"` }
func IPInfoLocal ¶
Click to show internal directories.
Click to hide internal directories.