Versions in this module Expand all Collapse all v0 v0.2.1 Nov 16, 2015 v0.2.0 Oct 27, 2015 Changes in this version + var ErrClosed = errors.New("pool is closed") + type Factory func() (net.Conn, error) + type Pool interface + Close func() + Get func() (net.Conn, error) + Len func() int + func NewChannelPool(initialCap, maxCap int, factory Factory) (Pool, error) + type PoolConn struct + func (p *PoolConn) MarkUnusable() + func (p PoolConn) Close() error