proxies

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountryCodeToFlag

func CountryCodeToFlag(countryCode string) string

func DeduplicateProxies

func DeduplicateProxies(proxies []map[string]any) []map[string]any

func GetCFProxy

func GetCFProxy(httpClient *http.Client) (loc string, ip string)

func GetDateFromSubs

func GetDateFromSubs(subUrl string) ([]byte, error)

订阅链接中获取数据

func GetEdgeOneProxy

func GetEdgeOneProxy(httpClient *http.Client) (loc string, ip string)

func GetIPSB added in v1.4.7

func GetIPSB(httpClient *http.Client) (loc string, ip string)

func GetIpinfo added in v1.4.7

func GetIpinfo(httpClient *http.Client) (loc string, ip string)

func GetMe added in v1.3.6

func GetMe(httpClient *http.Client) (loc string, ip string)

func GetProxies

func GetProxies() ([]map[string]any, error)

func GetProxyCountry

func GetProxyCountry(httpClient *http.Client) (loc string, ip string)

func Rename

func Rename(name string) string

func ResetRenameCounter

func ResetRenameCounter()

ResetRenameCounter 将所有计数器重置为 0

Types

This section is empty.

Jump to

Keyboard shortcuts

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