baseinfo

package
v0.0.6-20240726130933 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchCloudFlare

func FetchCloudFlare(netType string) (*model.IpInfo, *model.SecurityInfo, error)

FetchCloudFlare 从 speed.cloudflare.com 获取 IP 信息

func FetchIPInfoIo

func FetchIPInfoIo(netType string) (*model.IpInfo, *model.SecurityInfo, error)

FetchIPInfoIo 从 ipinfo.io 获取 IP 信息

func FetchIpDataCheerVision

func FetchIpDataCheerVision(netType string) (*model.IpInfo, *model.SecurityInfo, error)

FetchIpDataCheerVision 从 ipdata.cheervision.co 获取 IP 信息

func FetchIpSb

func FetchIpSb(netType string) (*model.IpInfo, *model.SecurityInfo, error)

FetchIpSb 从 api.ip.sb 获取 IP 信息

func RunIpCheck

func RunIpCheck(checkType string) (*model.IpInfo, *model.SecurityInfo, *model.IpInfo, *model.SecurityInfo, error)

RunIpCheck 并发请求获取信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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