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 (dsa 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 ¶
type Store struct {
DB dbm.ReadWriter
}
Wrapper type for dbm.Db with implementation of KVStore
func (Store) CacheWrapWithListeners ¶
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) GetStoreType ¶
GetStoreType returns the type of the store.
func (Store) ReverseIterator ¶
ReverseIterator wraps the underlying DB's ReverseIterator method panicing on error.
Click to show internal directories.
Click to hide internal directories.