Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `yaml:"address"` //default "tcp://127.0.0.1:46658" Query_DB_Address string `yaml:"query_db_address"` //default "0.0.0.0:46666" Abci string `yaml:"abci"` //default "socket" Log_level string `yaml:"log_level"` //default "debug" Log_screen bool `yaml:"log_screen"` Log_file bool `yaml:"log_file"` Log_async bool `yaml:"log_async"` Log_size int `yaml:"log_file_size"` DB_name string `yaml:"db_name"` DB_ip string `yaml:"db_ip"` DB_port string `yaml:"db_port"` Chain_id string `yaml:"chain_id"` }
具体含义请参考 bcchain.yaml
var GlobalConfig Config
Click to show internal directories.
Click to hide internal directories.