Versions in this module Expand all Collapse all v1 v1.0.0 Jan 29, 2022 Changes in this version + type ObjPool struct + func NewObjPool(cfg PoolConfig) *ObjPool + func (o *ObjPool) Drop() + func (o *ObjPool) Get() interface{} + func (o *ObjPool) Lock() + func (o *ObjPool) Put(v interface{}) + func (o *ObjPool) Reset() + func (o *ObjPool) Unlock() + type PoolConfig struct + Max int + ObjFactory func() (interface{}, error) + Retry int + RetryInterval time.Duration