Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type Pool ¶
type Pool interface {
// Get returns a new ReverseProxy from the pool.
Get() (HTTPClient, error)
// Put the ReverseProxy puts it back to the Pool.
Put(HTTPClient) 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
}
Click to show internal directories.
Click to hide internal directories.