Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage provides kvs.Storage functionality in local process memory. This instance can be used in a single-node configuration or in a test-purposes.
func (*Storage) Delete ¶
Delete allows to delete a value by key. If the key doesn't exist, the operation will return no errors.ErrNotExist
func (*Storage) Get ¶
Get allows to read a value by its key. If key is not found the ErrNotExist should be returned
Click to show internal directories.
Click to hide internal directories.