The highest tagged major version is
v2.
package
Version:
v1.21.11
Opens a new window with list of versions in this module.
Published: May 7, 2024
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.