Documentation
¶
Index ¶
- func StoreConstructor(db dbm.DB, opts types.StoreOptions) types.CommitStore
- type Store
- func (dsa Store) CacheWrap() types.Store
- func (dsa Store) Commit() types.CommitID
- func (dsa Store) Delete(key []byte)
- func (dsa Store) Get(key []byte) []byte
- func (dsa Store) GetStoreOptions() types.StoreOptions
- func (dsa Store) Has(key []byte) bool
- func (dsa Store) Iterator(start, end []byte) types.Iterator
- func (dsa Store) LastCommitID() types.CommitID
- func (dsa Store) LoadLatestVersion() error
- func (dsa Store) LoadVersion(ver int64) error
- func (dsa Store) ReverseIterator(start, end []byte) types.Iterator
- func (dsa Store) Set(key, value []byte)
- func (dsa Store) SetStoreOptions(types.StoreOptions)
- func (dsa Store) Write()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StoreConstructor ¶
func StoreConstructor(db dbm.DB, opts types.StoreOptions) types.CommitStore
Implements CommitStoreConstructor.
Types ¶
type Store ¶
Wrapper type for dbm.Db with implementation of Store
func (Store) GetStoreOptions ¶
func (dsa Store) GetStoreOptions() types.StoreOptions
Implements Committer/CommitStore.
func (Store) LastCommitID ¶
Implements Committer/CommitStore.
func (Store) LoadLatestVersion ¶
Implements Committer/CommitStore.
func (Store) LoadVersion ¶
Implements Committer/CommitStore.
func (Store) ReverseIterator ¶
Iterator over a domain of keys in descending order.
func (Store) SetStoreOptions ¶
func (dsa Store) SetStoreOptions(types.StoreOptions)
Implements Committer/CommitStore.
Click to show internal directories.
Click to hide internal directories.