database

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YunDa    string = "yunda"
	YuanTong string = "yuantong"
	ShenTong string = "shentong"
	ALL      string = "all"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyTracker

type ProxyTracker struct {
	// contains filtered or unexported fields
}

ProxyTracker 跟踪代理地址

func GetProxyTracker

func GetProxyTracker() *ProxyTracker

GetProxyTracker 单例模式获取实例

func (*ProxyTracker) AddAddress

func (pt *ProxyTracker) AddAddress(address1 string) error

AddAddress 添加地址到跟踪器

func (*ProxyTracker) AddAddressDisable

func (pt *ProxyTracker) AddAddressDisable(address1 string)

func (*ProxyTracker) AddAddressShentong

func (pt *ProxyTracker) AddAddressShentong(address1 string) error

func (*ProxyTracker) AddAddressUdp

func (pt *ProxyTracker) AddAddressUdp(address1 string) error

func (*ProxyTracker) AddAddressYuantong

func (pt *ProxyTracker) AddAddressYuantong(address1 string) error

func (*ProxyTracker) AddDns

func (pt *ProxyTracker) AddDns(address1 string, dns string) error

func (*ProxyTracker) Close

func (pt *ProxyTracker) Close() error

Close 关闭资源

func (*ProxyTracker) Contains

func (pt *ProxyTracker) Contains(address string) bool

Contains 检查地址是否存在

func (*ProxyTracker) ContainsDisable

func (pt *ProxyTracker) ContainsDisable(address1 string) bool

func (*ProxyTracker) ContainsMandatoryDns

func (pt *ProxyTracker) ContainsMandatoryDns(domainSearch string, expressname string) bool

func (*ProxyTracker) ContainsShentong

func (pt *ProxyTracker) ContainsShentong(address string) bool

func (*ProxyTracker) ContainsUdp

func (pt *ProxyTracker) ContainsUdp(address string) bool

func (*ProxyTracker) ContainsYuantong

func (pt *ProxyTracker) ContainsYuantong(address string) bool

func (*ProxyTracker) RemoveAddressDisable

func (pt *ProxyTracker) RemoveAddressDisable()

Jump to

Keyboard shortcuts

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