Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool interface { // Get returns a new Proxy from the pool. Get(string) (*proxy.Proxy, error) // Put Reseting the Proxy puts it back to the Pool. Put(*proxy.Proxy) error // Close closes the pool and all its connections. After Close() the pool is // no longer usable. Close() // Len returns the current number of connections of the pool. Len() int }
Pool interface ... this interface ref to: https://github.com/fatih/pool/blob/master/pool.go
Click to show internal directories.
Click to hide internal directories.