Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidConfig = errors.New("invalid pool config") ErrPoolClosed = errors.New("pool closed") )
Functions ¶
This section is empty.
Types ¶
type GenericPool ¶
func NewGenericPool ¶
func NewGenericPool(minOpen, maxOpen int, maxLifetime time.Duration, factory factory) (*GenericPool, error)
Click to show internal directories.
Click to hide internal directories.