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) Prefetch(key []byte, forSet bool) (hits, misses int, value []byte)
- 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 tmdb.Db with implementation of KVStore
func (Store) CacheWrapWithListeners ¶ added in v0.46.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) GetStoreType ¶
GetStoreType returns the type of the store.
func (Store) Prefetch ¶ added in v0.45.0
Prefetch wraps the underlying DB's Get method panicing on error.
func (Store) ReverseIterator ¶
ReverseIterator wraps the underlying DB's ReverseIterator method panicing on error.
Click to show internal directories.
Click to hide internal directories.