Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SafeMap ¶
SafeMap is multiple thread safe, could be accessed by multiple thread simultaneously.
func (*SafeMap) Values ¶
func (m *SafeMap) Values(filter ValueFilter) map[string]interface{}
Values returns all key-values stored in map
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value represents the value's info of a key-value pair.
type ValueFilter ¶
type ValueFilter func(interface{}) bool
ValueFilter defines a function to filter values in map
Click to show internal directories.
Click to hide internal directories.