Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuntdbPersister ¶
type BuntdbPersister struct { }
func NewBuntdbPersister ¶
func NewBuntdbPersister() *BuntdbPersister
func (*BuntdbPersister) Load ¶
func (b *BuntdbPersister) Load() ([]*zhima_proxy_pool.Proxy, error)
func (*BuntdbPersister) Save ¶
func (b *BuntdbPersister) Save(proxies []*zhima_proxy_pool.Proxy) error
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func NewZhimaWrapper ¶
func NewZhimaWrapper(pool *zhima_proxy_pool.ZhimaProxyPool, deleteLimit int) *Wrapper
func (*Wrapper) Get ¶
func (z *Wrapper) Get(prefer proxy_pool.Prefer) (proxy_pool.IProxy, error)
Click to show internal directories.
Click to hide internal directories.