Documentation ¶
Index ¶
- func FetchCloudFlare(netType string) (*model.IpInfo, *model.SecurityInfo, error)
- func FetchIPInfoIo(netType string) (*model.IpInfo, *model.SecurityInfo, error)
- func FetchIpDataCheerVision(netType string) (*model.IpInfo, *model.SecurityInfo, error)
- func FetchIpSb(netType string) (*model.IpInfo, *model.SecurityInfo, error)
- func RunIpCheck(checkType string) (*model.IpInfo, *model.SecurityInfo, *model.IpInfo, *model.SecurityInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchCloudFlare ¶
FetchCloudFlare 从 speed.cloudflare.com 获取 IP 信息
func FetchIPInfoIo ¶
FetchIPInfoIo 从 ipinfo.io 获取 IP 信息
func FetchIpDataCheerVision ¶
FetchIpDataCheerVision 从 ipdata.cheervision.co 获取 IP 信息
func RunIpCheck ¶
func RunIpCheck(checkType string) (*model.IpInfo, *model.SecurityInfo, *model.IpInfo, *model.SecurityInfo, error)
RunIpCheck 并发请求获取信息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.