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) error
- func (store *Store) Get(key []byte) (value []byte, err error)
- func (store *Store) GetStoreType() types.StoreType
- func (store *Store) Has(key []byte) (bool, error)
- func (store *Store) Iterator(start, end []byte) (types.Iterator, error)
- func (store *Store) ReverseIterator(start, end []byte) (types.Iterator, error)
- func (store *Store) Set(key []byte, value []byte) error
- 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) ReverseIterator ¶
Implements types.KVStore.
Click to show internal directories.
Click to hide internal directories.