app

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: 11 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
	LastCrawlTime       = "程序正在启动,请于3分钟后刷新页面"
	IsSpeedTest         = "未开启"

	SaveCacheInterval    uint64 = 1 // 存入缓存文件间隔时间,单位days
	ClearInvalidInterval uint64 = 3 // 清除无效节点间隔时间,单位days
)

Functions

func CrawlTask

func CrawlTask()

func Cron

func Cron()

func GetProxies

func GetProxies(key string) proxy.ProxyList

func GetString

func GetString(key string) string

func SaveCacheToFileTask

func SaveCacheToFileTask()

func SetProxies

func SetProxies(key string, proxies proxy.ProxyList)

func SetString

func SetString(key, value string)

func SpeedCheckTask added in v0.0.2

func SpeedCheckTask()

Types

This section is empty.

Jump to

Keyboard shortcuts

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