Documentation ¶
Index ¶
- Variables
- type SafeMap
- func (this *SafeMap) BoundedWalk(callback func(k, v interface{}) bool)
- func (this *SafeMap) Clear()
- func (this *SafeMap) Delete(key interface{}) (interface{}, bool)
- func (this *SafeMap) Find(key interface{}) (interface{}, bool)
- func (this *SafeMap) Insert(key interface{}, value interface{}) error
- func (this *SafeMap) Len() int
- func (this *SafeMap) Replace(key interface{}, value interface{}) (interface{}, bool)
- func (this *SafeMap) Update(key interface{}, value interface{}) error
- func (this *SafeMap) Walk(callback func(k, v interface{}))
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEntryExist = errors.New("entry exist") ErrEntryNotExist = errors.New("entry not exist") )
Functions ¶
This section is empty.
Types ¶
type SafeMap ¶
type SafeMap struct {
// contains filtered or unexported fields
}
func NewSafeMap ¶
func NewSafeMap() *SafeMap
func (*SafeMap) BoundedWalk ¶
Click to show internal directories.
Click to hide internal directories.