Documentation ¶
Index ¶
- func LoadApplicationManagerModuleConfig(do *definitions.Do) (*config.ModuleConfig, error)
- func LoadConsensusModuleConfig(do *definitions.Do) (*config.ModuleConfig, error)
- func LoadLoggingConfigFromClientDo(do *definitions.ClientDo) (*lconfig.LoggingConfig, error)
- func LoadLoggingConfigFromDo(do *definitions.Do) (*lconfig.LoggingConfig, error)
- func LoadModuleConfig(conf *viper.Viper, ...) (*config.ModuleConfig, error)
- func LoadServerConfig(chainId string, rootConfig *viper.Viper) (*server.ServerConfig, error)
- func LoadServerConfigFromDo(do *definitions.Do) (*server.ServerConfig, error)
- type Core
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadApplicationManagerModuleConfig ¶
func LoadApplicationManagerModuleConfig(do *definitions.Do) (*config.ModuleConfig, error)
LoadApplicationManagerModuleConfig wraps specifically for the application manager
func LoadConsensusModuleConfig ¶
func LoadConsensusModuleConfig(do *definitions.Do) (*config.ModuleConfig, error)
LoadConsensusModuleConfig wraps specifically for the consensus module
func LoadLoggingConfigFromClientDo ¶ added in v0.16.0
func LoadLoggingConfigFromClientDo(do *definitions.ClientDo) (*lconfig.LoggingConfig, error)
func LoadLoggingConfigFromDo ¶ added in v0.16.0
func LoadLoggingConfigFromDo(do *definitions.Do) (*lconfig.LoggingConfig, error)
func LoadModuleConfig ¶
func LoadModuleConfig(conf *viper.Viper, rootWorkDir, rootDataDir, genesisFile, chainId, module string) (*config.ModuleConfig, error)
Generic Module loader for configuration information
func LoadServerConfig ¶
Load the ServerConfig from root Viper config, fixing the ChainId
func LoadServerConfigFromDo ¶ added in v0.17.0
func LoadServerConfigFromDo(do *definitions.Do) (*server.ServerConfig, error)
Load the ServerConfig from commandline Do object
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
Core is the high-level structure
func NewCore ¶
func NewCore(chainId string, consensusConfig *config.ModuleConfig, managerConfig *config.ModuleConfig, logger logging_types.InfoTraceLogger) (*Core, error)
func (*Core) NewGatewayTendermint ¶
func (core *Core) NewGatewayTendermint(config *server.ServerConfig) ( *rpc_tendermint.TendermintWebsocketServer, error)
func (*Core) NewGatewayV0 ¶
func (core *Core) NewGatewayV0(config *server.ServerConfig) (*server.ServeProcess, error)
Click to show internal directories.
Click to hide internal directories.