Documentation
¶
Index ¶
- Constants
- type Callback
- type Impl
- func (p *Impl) Cap() int
- func (p *Impl) Clear()
- func (p *Impl) ForEach(cb Callback)
- func (p *Impl) Get(key interface{}) interface{}
- func (p *Impl) GetOrPut(key, value interface{}) (interface{}, bool, error)
- func (p *Impl) Pool() *sync.Map
- func (p *Impl) Pop(key interface{}) interface{}
- func (p *Impl) Put(key, value interface{}) error
- func (p *Impl) Remove(key interface{})
- func (p *Impl) Size() int
- type Pool
Constants ¶
View Source
const (
EmptyPoolCapacity = 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.