Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IpAddressTaoBao ¶
type IpAddressTaoBao struct { Ip string `json:"ipToAddr"` Country string `json:"country"` Area string `json:"area"` Region string `json:"region"` City string `json:"city"` County string `json:"county"` Isp string `json:"isp"` CountryId string `json:"country_id"` AreaId string `json:"area_id"` RegionId string `json:"region_id"` CityId string `json:"city_id"` CountyId string `json:"county_id"` IspId string `json:"isp_id"` }
type ResponseTaoBao ¶
type ResponseTaoBao struct { Code int `json:"code"` Data IpAddressTaoBao `json:"data"` }
func GetAddressByIPTaoBao ¶
func GetAddressByIPTaoBao(ip string) (ResponseTaoBao, error)
Click to show internal directories.
Click to hide internal directories.