Documentation ¶
Index ¶
- type Store
- func (s Store) CacheWrap() types.CacheWrap
- func (s Store) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (s Store) Delete(key []byte)
- func (s Store) Get(key []byte) []byte
- func (s Store) GetStoreType() types.StoreType
- func (s Store) Has(key []byte) bool
- func (s Store) Iterator(start, end []byte) types.Iterator
- func (s Store) ReverseIterator(start, end []byte) types.Iterator
- func (s 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 {
// contains filtered or unexported fields
}
Store is similar with tendermint/tendermint/libs/db/prefix_db both gives access only to the limited subset of the store for convinience or safety
func (Store) CacheWrapWithTrace ¶
CacheWrapWithTrace implements the KVStore interface.
func (Store) Iterator ¶
Implements KVStore Check https://github.com/evdatsion/tendermint/blob/master/libs/db/prefix_db.go#L106
func (Store) ReverseIterator ¶
Implements KVStore Check https://github.com/evdatsion/tendermint/blob/master/libs/db/prefix_db.go#L129
Click to show internal directories.
Click to hide internal directories.