Versions in this module Expand all Collapse all v1 v1.0.1 Sep 21, 2017 v1.0.0 Aug 10, 2017 Changes in this version + type ConcurrentHashMap struct + HashMap ConcurrentMap + Shards int + func New(shards int) *ConcurrentHashMap + func (m *ConcurrentHashMap) AddIfPresent(key string, value interface{}) bool + func (m *ConcurrentHashMap) Count() int + func (m *ConcurrentHashMap) Get(key string) (interface{}, bool) + func (m *ConcurrentHashMap) GetShard(key string) *ConcurrentMapShared + func (m *ConcurrentHashMap) Has(key string) bool + func (m *ConcurrentHashMap) IsEmpty() bool + func (m *ConcurrentHashMap) Items() map[string]interface{} + func (m *ConcurrentHashMap) ItemsLike(like string) map[string]interface{} + func (m *ConcurrentHashMap) Iter() <-chan Tuple + func (m *ConcurrentHashMap) IterBuffered() <-chan Tuple + func (m *ConcurrentHashMap) IterBufferedLike(k string) <-chan Tuple + func (m *ConcurrentHashMap) IterCb(fn IterCb) + func (m *ConcurrentHashMap) Keys() []string + func (m *ConcurrentHashMap) MSet(data map[string]interface{}) + func (m *ConcurrentHashMap) MarshalJSON() ([]byte, error) + func (m *ConcurrentHashMap) Pop(key string) (v interface{}, exists bool) + func (m *ConcurrentHashMap) Remove(key string) + func (m *ConcurrentHashMap) Set(key string, value interface{}) + func (m *ConcurrentHashMap) SetIfAbsent(key string, value interface{}) bool + func (m *ConcurrentHashMap) SetIfPresent(key string, newValue, oldValue interface{}) bool + func (m *ConcurrentHashMap) Upsert(key string, value interface{}, cb UpsertCb) (res interface{}) + type ConcurrentMap []*ConcurrentMapShared + type ConcurrentMapShared struct + type IterCb func(key string, v interface{}) + type Tuple struct + Key string + Val interface{} + type UpsertCb func(exist bool, valueInMap interface{}, newValue interface{}) interface