Documentation ¶
Index ¶
- type KVIterator
- type KVStore
- func (_m *KVStore) Close() error
- func (_m *KVStore) Delete(key string) error
- func (_m *KVStore) Get(key string) ([]byte, error)
- func (_m *KVStore) Init() error
- func (_m *KVStore) NewIterator() kvstore.KVIterator
- func (_m *KVStore) NewIteratorWithRange(keyRange interface{}) kvstore.KVIterator
- func (_m *KVStore) Put(key string, val []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVIterator ¶ added in v0.9.9
KVIterator is an autogenerated mock type for the KVIterator type
func (*KVIterator) Key ¶ added in v0.9.9
func (_m *KVIterator) Key() string
Key provides a mock function with given fields:
func (*KVIterator) Last ¶ added in v0.9.9
func (_m *KVIterator) Last() bool
Last provides a mock function with given fields:
func (*KVIterator) Next ¶ added in v0.9.9
func (_m *KVIterator) Next() bool
Next provides a mock function with given fields:
func (*KVIterator) Prev ¶ added in v0.9.9
func (_m *KVIterator) Prev() bool
Prev provides a mock function with given fields:
func (*KVIterator) Release ¶ added in v0.9.9
func (_m *KVIterator) Release()
Release provides a mock function with given fields:
func (*KVIterator) Seek ¶ added in v0.9.9
func (_m *KVIterator) Seek(_a0 string) bool
Seek provides a mock function with given fields: _a0
func (*KVIterator) Value ¶ added in v0.9.9
func (_m *KVIterator) Value() []byte
Value provides a mock function with given fields:
type KVStore ¶
KVStore is an autogenerated mock type for the KVStore type
func (*KVStore) NewIterator ¶
func (_m *KVStore) NewIterator() kvstore.KVIterator
NewIterator provides a mock function with given fields:
func (*KVStore) NewIteratorWithRange ¶
func (_m *KVStore) NewIteratorWithRange(keyRange interface{}) kvstore.KVIterator
NewIteratorWithRange provides a mock function with given fields: keyRange
Click to show internal directories.
Click to hide internal directories.