Documentation ¶
Index ¶
- type Store
- func (dsa Store) CacheWrap() types.CacheWrap
- func (dsa Store) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (dsa Store) Delete(key []byte)
- func (dsa Store) Get(key []byte) []byte
- func (Store) GetStoreType() types.StoreType
- func (dsa Store) Has(key []byte) bool
- func (dsa Store) Iterator(start, end []byte) types.Iterator
- func (dsa Store) ReverseIterator(start, end []byte) types.Iterator
- func (dsa Store) Set(key, value []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Wrapper type for dbm.Db with implementation of KVStore
func (Store) CacheWrapWithTrace ¶
CacheWrapWithTrace implements KVStore.
func (Store) Delete ¶ added in v0.41.4
Delete wraps the underlying DB's Delete method panicing on error.
func (Store) GetStoreType ¶
GetStoreType returns the type of the store.
func (Store) Iterator ¶ added in v0.41.4
Iterator wraps the underlying DB's Iterator method panicing on error.
func (Store) ReverseIterator ¶ added in v0.41.4
ReverseIterator wraps the underlying DB's ReverseIterator method panicing on error.
Click to show internal directories.
Click to hide internal directories.