proxies

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountryCodeToFlag

func CountryCodeToFlag(code 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 GetIPCheckProxy

func GetIPCheckProxy(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 ParseProxy

func ParseProxy(proxy string) (map[string]any, error)

func Rename

func Rename(name string) string

func ResetRenameCounter

func ResetRenameCounter()

ResetRenameCounter 将所有计数器重置为 0

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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