The highest tagged major version is
v2.
package
Version:
v1.17.3
Opens a new window with list of versions in this module.
Published: Apr 19, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
type IPoolData interface {
Reset()
IsRef() bool
Ref()
UnRef()
}
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{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.