Documentation ¶
Index ¶
- func IsKeyInDomain(key, start, end []byte) bool
- type Store
- func (store *Store) CacheWrap() types.CacheWrap
- func (store *Store) CacheWrapWithListeners(storeKey types.StoreKey, listeners []types.WriteListener) types.CacheWrap
- func (store *Store) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (store *Store) Delete(key []byte)
- func (store *Store) Get(key []byte) (value []byte)
- func (store *Store) GetStoreType() types.StoreType
- func (store *Store) Has(key []byte) bool
- func (store *Store) Iterator(start, end []byte) types.Iterator
- func (store *Store) ReverseIterator(start, end []byte) types.Iterator
- func (store *Store) Set(key []byte, value []byte)
- func (store *Store) Write()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsKeyInDomain ¶ added in v0.47.0
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store wraps an in-memory cache around an underlying types.KVStore. Set, Delete and Write for the same key must be called sequentially.
func (*Store) CacheWrapWithListeners ¶ added in v0.47.0
func (store *Store) CacheWrapWithListeners(storeKey types.StoreKey, listeners []types.WriteListener) types.CacheWrap
CacheWrapWithListeners implements the CacheWrapper interface.
func (*Store) CacheWrapWithTrace ¶
CacheWrapWithTrace implements the CacheWrapper interface.
func (*Store) GetStoreType ¶
GetStoreType implements Store.
func (*Store) ReverseIterator ¶
ReverseIterator implements types.KVStore.
Click to show internal directories.
Click to hide internal directories.