Documentation ¶
Overview ¶
Package cznicb provides an in-memory implementation of the KVStore interfaces using the cznic/b in-memory btree. Of note: this implementation does not have reader isolation.
Index ¶
- Constants
- func StoreConstructor(config map[string]interface{}) (store.KVStore, error)
- type Batch
- type Iterator
- type Store
- func (s *Store) Close() error
- func (s *Store) Delete(k []byte) (err error)
- func (s *Store) Get(k []byte) ([]byte, error)
- func (s *Store) Iterator(k []byte) store.KVIterator
- func (s *Store) NewBatch() store.KVBatch
- func (s *Store) Reader() (store.KVReader, error)
- func (s *Store) Set(k, v []byte) (err error)
- func (s *Store) Writer() (store.KVWriter, error)
Constants ¶
View Source
const Name = "cznicb"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.