Versions in this module Expand all Collapse all v1 v1.0.1 Mar 28, 2019 v1.0.0 Mar 5, 2019 Changes in this version + const PoolInit + const PoolReStart + const PoolStart + const PoolStop + type IClient interface + Close func() error + IsOpen func() bool + Ping func() bool + Start func() error + type Pool struct + AcquireIncrement int + GetClientTimeout int + HealthSecond int + IdleTime int + MaxPoolSize int + MaxWaitSize int + MinPoolSize int + NewClient func() IClient + Status int + func NewPool() *Pool + func (p *Pool) Close() + func (p *Pool) Get() (client *PooledClient, err error) + func (p *Pool) Info() string + func (p *Pool) Set(element *PooledClient) + func (p *Pool) Start() error + type PooledClient struct + Client IClient + type Slice struct + func (s *Slice) Append(ai int) error + func (s *Slice) Close() + func (s *Slice) Get() (*PooledClient, error) + func (s *Slice) Info(v ...interface{}) + func (s *Slice) Init(ai, min, max int, p *Pool) + func (s *Slice) Set(element *PooledClient)