Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NotFoundError is a leveldb/errors.ErrNotFound NotFoundError = leveldb_errors.ErrNotFound )
Functions ¶
This section is empty.
Types ¶
type ReadOptions ¶
type ReadOptions = opt.ReadOptions
ReadOptions is a type alias of leveldb/opt.ReadOptions
type Store ¶
type Store interface { Get(key []byte, ro *ReadOptions) (value []byte, err error) Has(key []byte, ro *ReadOptions) (ret bool, err error) Put(key, value []byte, wo *WriteOptions) error Close() error }
Store is a interface represents key-value store.
type WriteOptions ¶
type WriteOptions = opt.WriteOptions
WriteOptions is a type alias of leveldb/opt.WriteOptions
Directories ¶
Path | Synopsis |
---|---|
Package mock_store is a generated GoMock package.
|
Package mock_store is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.