Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GitBranch string
GitBranch name of source code
View Source
var GitCommit string
GitCommit id of source code
View Source
var GoVersion string
GoVersion number of the build
View Source
var Version string
Version number of the build
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Workspace string `mapstructure:"workspace"` Network string `mapstructure:"network"` Log logtypes.Config `mapstructure:"log"` P2p p2p.Config `mapstructure:"p2p"` RPC rpc.Config `mapstructure:"rpc"` Database storage.Config `mapstructure:"database"` Dpos dpos.Config `mapstructure:"dpos"` Metrics metrics.Config `mapstructure:"metrics"` Pprof string `mapstructure:"pprof"` Wallet wallet.Config `mapstructure:"wallet"` }
Config is a configuration data structure for box blockchain server, which is read from config file or parsed from command line.
Click to show internal directories.
Click to hide internal directories.