Documentation
¶
Index ¶
- type Config
- func (cfg *Config) GetABCIConfig() types.AMOAppConfig
- func (cfg *Config) GetLastHeight() string
- func (cfg *Config) Load() error
- func (cfg *Config) Save() error
- func (cfg *Config) SetABCIConfig(abciConfig types.AMOAppConfig)
- func (cfg *Config) SetLastHeight(lastHeight string)
- func (cfg *Config) UpdateLastHeight() error
- type ConfigSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetABCIConfig ¶
func (cfg *Config) GetABCIConfig() types.AMOAppConfig
func (*Config) GetLastHeight ¶
func (*Config) SetABCIConfig ¶
func (cfg *Config) SetABCIConfig(abciConfig types.AMOAppConfig)
func (*Config) SetLastHeight ¶
func (*Config) UpdateLastHeight ¶
type ConfigSet ¶
type ConfigSet struct { LastHeight string `json:"last_height"` ABCIConfig types.AMOAppConfig `json:"ABCI_config"` }
Click to show internal directories.
Click to hide internal directories.