Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
Iterator is used to iterate the MVMap.
type MVMap ¶
type MVMap struct {
// contains filtered or unexported fields
}
MVMap stores multiple value for a given key with minimum GC overhead. A given key can store multiple values. It is not thread-safe, should only be used in one goroutine.
func (*MVMap) Len ¶
Len returns the number of values in th mv map, the number of keys may be less than Len if the same key is put more than once.
func (*MVMap) NewIterator ¶
NewIterator creates a iterator for the MVMap.
Click to show internal directories.
Click to hide internal directories.