Documentation ¶
Index ¶
- type Store
- func (store *Store) CacheWrap() 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 ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store wraps an in-memory cache around an underlying types.KVStore.
func (*Store) CacheWrapWithTrace ¶
CacheWrapWithTrace implements the CacheWrapper interface.
func (*Store) Iterator ¶
Implements types.KVStore.
func (*Store) ReverseIterator ¶
Implements types.KVStore.
Click to show internal directories.
Click to hide internal directories.