Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyManager ¶
type ProxyManager struct { CurrentIndex int Length int Proxies []string // contains filtered or unexported fields }
ProxyManager defines the proxy list and current proxy position
func (*ProxyManager) NextProxy ¶
func (p *ProxyManager) NextProxy() string
NextProxy will navigate the next proxy to use
func (*ProxyManager) RandomProxy ¶
func (p *ProxyManager) RandomProxy() string
RandomProxy will choose a proxy randomly from the list
Click to show internal directories.
Click to hide internal directories.