Versions in this module Expand all Collapse all v0 v0.2.0 Jan 18, 2023 v0.1.0 Jan 18, 2023 Changes in this version + type IPoolData interface + IsRef func() bool + Ref func() + Reset func() + UnRef func() + type Pool struct + C chan interface{} + func NewPool(C chan interface{}, New func() interface{}) *Pool + func (pool *Pool) Get() interface{} + func (pool *Pool) Put(data interface{}) + type PoolEx struct + C chan IPoolData + func NewPoolEx(C chan IPoolData, New func() IPoolData) *PoolEx + func (pool *PoolEx) Get() IPoolData + func (pool *PoolEx) Put(data IPoolData)