Documentation ¶
Index ¶
- Variables
- func AiwenTechScense(ip string) (string, error)
- func HasLocalIP(ip net.IP) bool
- func HasLocalIPAddr(ip string) bool
- type IPGeoData
- func AiwenTech(ip string) (*IPGeoData, error)
- func AiwenTechv6(ip string) (*IPGeoData, error)
- func GetIPASNDomain(ip string) *IPGeoData
- func GetIPGeoData(ip string) *IPGeoData
- func IPData(ip string) (*IPGeoData, error)
- func IPInfo(ip string) (*IPGeoData, error)
- func IPInfoTMP(ip string) (*IPGeoData, error)
- func IPInsight(ip string) (*IPGeoData, string, error)
- type IpWhois
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AiwenTechScense ¶
func HasLocalIPAddr ¶
Types ¶
type IPGeoData ¶
type IPGeoData struct { IP string `json:"ip"` Asnumber string `json:"asnumber"` Country string `json:"country"` CountryEN string `json:"country_en"` CountryCode string `json:"country_code"` Prov string `json:"prov"` RegionEN 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"` Prefix string `json:"prefix"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Router map[string][]string `json:"router"` Source string `json:"source"` }
func AiwenTechv6 ¶
func GetIPASNDomain ¶
func GetIPGeoData ¶
Click to show internal directories.
Click to hide internal directories.