Documentation ¶
Index ¶
- Constants
- func StoreConstructor(config map[string]interface{}) (store.KVStore, error)
- type Iterator
- type Reader
- type Store
- type Writer
- func (w *Writer) BytesSafeAfterClose() bool
- func (w *Writer) Close() error
- func (w *Writer) Delete(key []byte) error
- func (w *Writer) Get(key []byte) ([]byte, error)
- func (w *Writer) Iterator(key []byte) store.KVIterator
- func (w *Writer) NewBatch() store.KVBatch
- func (w *Writer) Set(key, val []byte) error
Constants ¶
View Source
const Name = "mem"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) BytesSafeAfterClose ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) SetMergeOperator ¶
func (i *Store) SetMergeOperator(mo store.MergeOperator)
Click to show internal directories.
Click to hide internal directories.