Documentation ¶ Index ¶ type HashMap func NewHashMap() *HashMap func (db *HashMap) Add(key string, value interface{}) func (db *HashMap) Get(key string) (value interface{}, ok bool) func (db *HashMap) Items() []interface{} func (db *HashMap) Len() int func (db *HashMap) Remove(key string) type Item Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type HashMap ¶ type HashMap struct { RWLock sync.RWMutex // contains filtered or unexported fields } func NewHashMap ¶ func NewHashMap() *HashMap func (*HashMap) Add ¶ func (db *HashMap) Add(key string, value interface{}) func (*HashMap) Get ¶ func (db *HashMap) Get(key string) (value interface{}, ok bool) func (*HashMap) Items ¶ func (db *HashMap) Items() []interface{} func (*HashMap) Len ¶ func (db *HashMap) Len() int func (*HashMap) Remove ¶ func (db *HashMap) Remove(key string) type Item ¶ type Item struct { // contains filtered or unexported fields } Source Files ¶ View all Source files hashmap.go Click to show internal directories. Click to hide internal directories.