Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultShard uint64 = 32
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentMap ¶
type ConcurrentMap struct {
// contains filtered or unexported fields
}
func New ¶
func New(shard uint64) *ConcurrentMap
func (*ConcurrentMap) Del ¶
func (m *ConcurrentMap) Del(key interface{}) (bool, error)
func (*ConcurrentMap) Get ¶
func (m *ConcurrentMap) Get(key interface{}) (interface{}, bool, error)
func (*ConcurrentMap) Has ¶ added in v1.1.0
func (m *ConcurrentMap) Has(key interface{}) (bool, error)
func (*ConcurrentMap) Iterator ¶
func (m *ConcurrentMap) Iterator() *Iter
func (*ConcurrentMap) Set ¶
func (m *ConcurrentMap) Set(key, value interface{}) error
Click to show internal directories.
Click to hide internal directories.