Documentation ¶
Index ¶
- func TestGeoInfo()
- type CountryItem
- type EdgeTunnelProxy
- type GeoInfo
- type Info
- type InfoItem
- type MannualProxy
- type Pinger
- type ProxyFetcher
- type ProxyLocations
- type ProxyQRCode
- type Verifier
- func (that *Verifier) GetProxyFromDB(sourceType string) []*outbound.ProxyItem
- func (that *Verifier) GetResultByReload() *outbound.Result
- func (that *Verifier) GetResultListByReload() []*outbound.ProxyItem
- func (that *Verifier) IsRunning() bool
- func (that *Verifier) ResultList() []*outbound.ProxyItem
- func (that *Verifier) Run(force ...bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestGeoInfo ¶
func TestGeoInfo()
Types ¶
type CountryItem ¶
type EdgeTunnelProxy ¶
Handle edgetunnel rawList see: https://github.com/3Kmfi6HP/EDtunnel
https://edtunnel.pages.dev/sub/uui https port: 443, 8443, 2053, 2096, 2087, 2083
func NewEdgeTunnelProxy ¶
func NewEdgeTunnelProxy(cnf *conf.NeoConf) (etp *EdgeTunnelProxy)
func (*EdgeTunnelProxy) DownloadAndSaveRawList ¶
func (that *EdgeTunnelProxy) DownloadAndSaveRawList(addr, uuid string)
func (*EdgeTunnelProxy) RandomlyChooseEdgeTunnel ¶
func (that *EdgeTunnelProxy) RandomlyChooseEdgeTunnel(addr, uuid string) (newItem *outbound.ProxyItem)
func (*EdgeTunnelProxy) RandomlyChooseEdgeTunnelByOldProxyItem ¶
func (that *EdgeTunnelProxy) RandomlyChooseEdgeTunnelByOldProxyItem(p *outbound.ProxyItem) (newItem *outbound.ProxyItem)
type MannualProxy ¶
type MannualProxy struct { CNF *conf.NeoConf Result *outbound.Result // contains filtered or unexported fields }
func NewMannualProxy ¶
func NewMannualProxy(cnf *conf.NeoConf) (m *MannualProxy)
func (*MannualProxy) AddEdgeTunnelByAddressUUID ¶
func (that *MannualProxy) AddEdgeTunnelByAddressUUID(addr, uuid string)
func (*MannualProxy) AddFromFile ¶
func (that *MannualProxy) AddFromFile(fPath, sourceType string)
func (*MannualProxy) AddRawUri ¶
func (that *MannualProxy) AddRawUri(rawUri, sourceType string)
func (*MannualProxy) RemoveMannualProxy ¶
func (that *MannualProxy) RemoveMannualProxy(addr string, port int, sourceType string)
type Pinger ¶
type Pinger struct { CNF *conf.NeoConf ProxyFetcher *ProxyFetcher Result *outbound.Result // contains filtered or unexported fields }
func (*Pinger) GetResultByReload ¶
func (*Pinger) Statistics ¶
type ProxyFetcher ¶
type ProxyFetcher struct { CNF *conf.NeoConf Key *conf.RawListEncryptKey Result *outbound.Result // contains filtered or unexported fields }
func NewProxyFetcher ¶
func NewProxyFetcher(cnf *conf.NeoConf) (p *ProxyFetcher)
func (*ProxyFetcher) DecryptAndLoad ¶
func (that *ProxyFetcher) DecryptAndLoad()
func (*ProxyFetcher) DownAndLoad ¶
func (that *ProxyFetcher) DownAndLoad(force ...bool)
func (*ProxyFetcher) Download ¶
func (that *ProxyFetcher) Download()
func (*ProxyFetcher) GetResultByReload ¶
func (that *ProxyFetcher) GetResultByReload() *outbound.Result
func (*ProxyFetcher) LoadHistoryListToRawDecrypted ¶
func (that *ProxyFetcher) LoadHistoryListToRawDecrypted()
load history verified list items to rawlist.
type ProxyLocations ¶
type ProxyLocations struct { CNF *conf.NeoConf CountryItemList map[string]*CountryItem // contains filtered or unexported fields }
func NewLocations ¶
func NewLocations(cnf *conf.NeoConf) (pl *ProxyLocations)
type ProxyQRCode ¶
func NewQRCodeProxy ¶
func NewQRCodeProxy(cnf *conf.NeoConf) (pqc *ProxyQRCode)
func (*ProxyQRCode) GenQRCode ¶
func (that *ProxyQRCode) GenQRCode()
func (*ProxyQRCode) SetProxyItem ¶
func (that *ProxyQRCode) SetProxyItem(p *outbound.ProxyItem)
type Verifier ¶
type Verifier struct { CNF *conf.NeoConf Pinger *Pinger Locater *ProxyLocations Result *outbound.Result // contains filtered or unexported fields }
func NewVerifier ¶
func (*Verifier) GetProxyFromDB ¶
func (*Verifier) GetResultByReload ¶
func (*Verifier) GetResultListByReload ¶
func (*Verifier) ResultList ¶
Click to show internal directories.
Click to hide internal directories.