package
Version:
v0.0.0-...-1905027
Opens a new window with list of versions in this module.
Published: Mar 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
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.