Versions in this module Expand all Collapse all v0 v0.3.8 Mar 21, 2023 Changes in this version + var ErrorCreaterNotSupported = errors.New("type not supported") + var ErrorUrlNotFound = errors.New("url should be specified") + func AssertTypeStringNotNull(i interface{}) (str string, err error) + func FuzzParseProxyFromString(text string) proxy.ProxyList + func GrepLinksFromString(text string) []string + func Register(sourceType string, c creator) + func String2Proxy(link string) proxy.Proxy + func StringArray2ProxyArray(origin []string) proxy.ProxyList + type Getter interface + Get func() proxy.ProxyList + Get2Chan func(pc chan proxy.Proxy, wg *sync.WaitGroup) + func NewGetter(sourceType string, options tool.Options) (getter Getter, err error) + func NewSubscribe(options tool.Options) (getter Getter, err error) + func NewTGChannelGetter(options tool.Options) (getter Getter, err error) + func NewWebFanqiangdangGetter(options tool.Options) (getter Getter, err error) + func NewWebFreessrxyzGetter(options tool.Options) (getter Getter, err error) + func NewWebFuzzGetter(options tool.Options) (getter Getter, err error) + func NewWebFuzzSubGetter(options tool.Options) (getter Getter, err error) + type Subscribe struct + Url string + func (s *Subscribe) Get() proxy.ProxyList + func (s *Subscribe) Get2Chan(pc chan proxy.Proxy, wg *sync.WaitGroup) + type TGChannelGetter struct + NumNeeded int + Url string + func (g *TGChannelGetter) Get() proxy.ProxyList + func (g *TGChannelGetter) Get2Chan(pc chan proxy.Proxy, wg *sync.WaitGroup) + type WebFanqiangdang struct + Url string + func (w *WebFanqiangdang) Get() proxy.ProxyList + func (w *WebFanqiangdang) Get2Chan(pc chan proxy.Proxy, wg *sync.WaitGroup) + type WebFreessrXyz struct + func (w *WebFreessrXyz) Get() proxy.ProxyList + func (w *WebFreessrXyz) Get2Chan(pc chan proxy.Proxy, wg *sync.WaitGroup) + type WebFuzz struct + Url string + func (w *WebFuzz) Get() proxy.ProxyList + func (w *WebFuzz) Get2Chan(pc chan proxy.Proxy, wg *sync.WaitGroup) + type WebFuzzSub struct + Url string + func (w *WebFuzzSub) Get() proxy.ProxyList + func (w *WebFuzzSub) Get2Chan(pc chan proxy.Proxy, wg *sync.WaitGroup)