Versions in this module Expand all Collapse all v1 v1.0.0 Sep 8, 2020 Changes in this version + const OBJECT_STORE_MAX_CAP + const THREAD_SAFE_MAP_MAX_CAP + type IObjStore interface + Add func(interface{}, string, interface{}) error + Delete func(interface{}, string) error + Exist func(interface{}, string) bool + Get func(interface{}, string) (interface{}, error) + Len func() int + List func() []IThreadSafeMap + Update func(interface{}, string, interface{}) error + func NewObjStore(cap int) IObjStore + type IThreadSafeMap interface + Add func(string, interface{}) error + CleanAll func() error + Delete func(string) error + Exist func(string) bool + Get func(string) (interface{}, error) + Len func() int + List func() []interface{} + Update func(string, interface{}) error + func NewThreadSafeMap(cap int) IThreadSafeMap + type ObjStore struct + func (obj *ObjStore) Add(section interface{}, key string, value interface{}) error + func (obj *ObjStore) Delete(section interface{}, key string) error + func (obj *ObjStore) Exist(section interface{}, key string) bool + func (obj *ObjStore) Get(section interface{}, key string) (interface{}, error) + func (obj *ObjStore) Len() int + func (obj *ObjStore) List() []IThreadSafeMap + func (obj *ObjStore) Update(section interface{}, key string, value interface{}) error + type ThreadSafeMap struct + func (t *ThreadSafeMap) Add(key string, item interface{}) error + func (t *ThreadSafeMap) CleanAll() error + func (t *ThreadSafeMap) Delete(key string) error + func (t *ThreadSafeMap) Exist(key string) bool + func (t *ThreadSafeMap) Get(key string) (interface{}, error) + func (t *ThreadSafeMap) Len() int + func (t *ThreadSafeMap) List() []interface{} + func (t *ThreadSafeMap) Update(key string, item interface{}) error