Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig loads configuration file from path.
Types ¶
type Config ¶
type Config struct { VERSION string NodeIP string NodePort string ChainType string DOSAddressBridgeAddress string EthGasLimit string BootStrapIPs []string ChainNodePool []string }
Config is the configuration for creating a DOS client instance.
func (*Config) LoadConfig ¶
LoadConfig loads configuration file from path.
func (*Config) UpdateConfig ¶
UpdateConfig saves configuration to a file.
Click to show internal directories.
Click to hide internal directories.