cache

package
v0.10.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GettersCount = 0

	AllProxiesCount           = 0
	SSRProxiesCount           = 0
	SSProxiesCount            = 0
	VmessProxiesCount         = 0
	TrojanProxiesCount        = 0
	UsefullProxiesCount       = 0
	UsefullSSRProxiesCount    = 0
	UsefullSSProxiesCount     = 0
	UsefullVmessProxiesCount  = 0
	UsefullTrojanProxiesCount = 0
	LastCrawlTime             = "程序正在启动,请于3分钟后刷新页面"
	IsSpeedTest               = "未开启"
)

Functions

func GetProxies

func GetProxies(key string) proxy.ProxyList

func GetString

func GetString(key string) string

func SetBestNodeList added in v0.10.3

func SetBestNodeList(key string, value []BestNode)

func SetProxies

func SetProxies(key string, proxies proxy.ProxyList)

func SetString

func SetString(key, value string)

Types

type BestNode added in v0.10.3

type BestNode struct {
	Ip      string
	Port    int
	Country string
}

func GetBestNodeList added in v0.10.3

func GetBestNodeList(key string) (value []BestNode)

Jump to

Keyboard shortcuts

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