Documentation
¶
Index ¶
- type ConcurrentMap
- func (cm *ConcurrentMap) Delete(key interface{})
- func (cm *ConcurrentMap) Load(key interface{}) (value interface{}, ok bool)
- func (cm *ConcurrentMap) LoadOrStore(key, value interface{}) (actual interface{}, loaded bool)
- func (cm *ConcurrentMap) Range(f func(key, value interface{}) bool)
- func (cm *ConcurrentMap) Store(key, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentMap ¶
func NewConcurrentMap ¶
func NewConcurrentMap(keyType, valueType interface{}) *ConcurrentMap
func (*ConcurrentMap) Delete ¶
func (cm *ConcurrentMap) Delete(key interface{})
func (*ConcurrentMap) Load ¶
func (cm *ConcurrentMap) Load(key interface{}) (value interface{}, ok bool)
func (*ConcurrentMap) LoadOrStore ¶
func (cm *ConcurrentMap) LoadOrStore(key, value interface{}) (actual interface{}, loaded bool)
func (*ConcurrentMap) Range ¶
func (cm *ConcurrentMap) Range(f func(key, value interface{}) bool)
func (*ConcurrentMap) Store ¶
func (cm *ConcurrentMap) Store(key, value interface{})
Click to show internal directories.
Click to hide internal directories.