core

package
v0.16.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2017 License: Apache-2.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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) (*logging.LoggingConfig, error)

func LoadLoggingConfigFromDo added in v0.16.0

func LoadLoggingConfigFromDo(do *definitions.Do) (*logging.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

func LoadServerConfig(do *definitions.Do) (*server.ServerConfig, error)

LoadServerModuleConfig wraps specifically for the servers run by core

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 loggers.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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL