Documentation ¶
Index ¶
- type Store
- func (dsa Store) CacheWrap() types.CacheWrap
- func (dsa Store) CacheWrapWithListeners(storeKey types.StoreKey, listeners []types.WriteListener) 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) CacheWrapWithListeners ¶ added in v0.47.0
func (dsa Store) CacheWrapWithListeners(storeKey types.StoreKey, listeners []types.WriteListener) types.CacheWrap
CacheWrapWithListeners implements the CacheWrapper interface.
func (Store) CacheWrapWithTrace ¶
CacheWrapWithTrace implements KVStore.
func (Store) Delete ¶ added in v0.47.0
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.47.0
Iterator wraps the underlying DB's Iterator method panicing on error.
func (Store) ReverseIterator ¶ added in v0.47.0
ReverseIterator wraps the underlying DB's ReverseIterator method panicing on error.
Click to show internal directories.
Click to hide internal directories.