check

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocationCheckAll

func LocationCheckAll(proxies proxy.ProxyList)

func ProxyLocationCheck

func ProxyLocationCheck(p proxy.Proxy) (country string, err error)

func ProxySpeedCheck added in v0.0.2

func ProxySpeedCheck(p proxy.Proxy) (speedResult float64, err error)

func SpeedCheckAll added in v0.0.2

func SpeedCheckAll(proxies proxy.ProxyList)

Types

type Data

type Data struct {
	Ip       string `json:"ip"`
	Location struct {
		City        string `json:"city"`
		CountryCode string `json:"country_code"`
		CountryName string `json:"country_name"`
		Latitude    string `json:"latitude"`
		Longitude   string `json:"longitude"`
		Province    string `json:"province"`
	} `json:"location"`
}

Jump to

Keyboard shortcuts

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