Documentation ¶
Overview ¶
Package mem implements an in-memory key-value store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶ added in v0.7.0
type Store struct {
// contains filtered or unexported fields
}
Store is an in-memory key-value store. Its zero value is ready to use.
func (*Store) Create ¶ added in v0.7.0
Create adds the given key-value pair to the store if and only if no entry for key exists. If an entry already exists it returns kes.ErrKeyExists.
Click to show internal directories.
Click to hide internal directories.