Documentation
¶
Overview ¶
Package memorykv provides an in-memory implementation of kv.Store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// BeforeSet, if non-nil, is called before a value is set.
BeforeSet func(ks string, k, v []byte) error
// AfterSet, if non-nil, is called after a value is set.
AfterSet func(ks string, k, v []byte) error
// contains filtered or unexported fields
}
Store is an in-memory implementation of kv.Store.
Click to show internal directories.
Click to hide internal directories.