GetIPAddress

package
v0.0.0-...-f5e84f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL