Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVIterator ¶
KVIterator interface for key value iterators
type KVStore ¶
type KVStore interface { Put(key string, val []byte) error Get(key string) ([]byte, error) Delete(key string) error NewIterator() KVIterator Close() }
KVStore interface for key value stores
func NewLDBKeyValueStore ¶
NewLDBKeyValueStore construct a new LevelDB instance of a KV store
type MockKV ¶
MockKV simple memory K/V store for testing
func (*MockKV) NewIterator ¶
func (m *MockKV) NewIterator() KVIterator
NewIterator for a new iterator
Click to show internal directories.
Click to hide internal directories.