check

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: GPL-3.0 Imports: 11 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)

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