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) GetStoreOptions() types.StoreOptions
- func (dsa Store) LastCommitID() types.CommitID
- func (dsa Store) LoadLatestVersion() error
- func (dsa Store) LoadVersion(ver int64) error
- 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) SetStoreOptions ¶
func (dsa Store) SetStoreOptions(types.StoreOptions)
Implements Committer/CommitStore.
Click to show internal directories.
Click to hide internal directories.