Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyGenerator ¶
type ProxyGenerator struct { VerifyFn Verify // contains filtered or unexported fields }
func New ¶
func New(store data.ProxyStore, workers int, cacheminutes time.Duration, hours int, logger logrus.FieldLogger, feedList []string) *ProxyGenerator
func (*ProxyGenerator) AddProvider ¶
func (p *ProxyGenerator) AddProvider(provider Provider)
func (*ProxyGenerator) Count ¶
func (p *ProxyGenerator) Count() int
func (*ProxyGenerator) Get ¶
func (p *ProxyGenerator) Get() []string
func (*ProxyGenerator) GetLast ¶
func (p *ProxyGenerator) GetLast() models.Proxy
func (*ProxyGenerator) Run ¶
func (p *ProxyGenerator) Run(workers int, hours int)
Click to show internal directories.
Click to hide internal directories.