Documentation
¶
Index ¶
- Constants
- type Store
- func (st *Store) Exists(key []byte) bool
- func (st *Store) Get(key []byte) ([]byte, error)
- func (st *Store) GetCurrencies() (balance.Currencies, error)
- func (st *Store) GetFeeOption() (*fees.FeeOption, error)
- func (st *Store) InitialChain() bool
- func (st *Store) Initiated() bool
- func (st *Store) Set(key []byte, value []byte) error
- func (st *Store) SetCurrencies(currencies balance.Currencies) error
- func (st *Store) SetFeeOption(feeOpt fees.FeeOption) error
- func (st *Store) WithState(state *storage.State) *Store
Constants ¶
View Source
const ( ADMIN_INITIAL_KEY string = "initial" ADMIN_CURRENCY_KEY string = "currency" ADMIN_FEE_OPTION_KEY string = "feeopt" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetCurrencies ¶
func (st *Store) GetCurrencies() (balance.Currencies, error)
func (*Store) InitialChain ¶
func (*Store) SetCurrencies ¶
func (st *Store) SetCurrencies(currencies balance.Currencies) error
Click to show internal directories.
Click to hide internal directories.