Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index interface {
Len(namespace string) int
Namespaces() []string
Get(namespace string, key string) (interface{}, bool)
Set(namespace string, key string, value interface{})
Range(namespace string, f func(key string, value interface{}) bool)
Delete(namespace string, key string)
Exists(namespace string, key string) bool
Clear(namespace string)
Close()
}
func NewInMemIndex ¶
func NewInMemIndex() Index
Click to show internal directories.
Click to hide internal directories.