Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig() error
Types ¶
type AppConfig ¶
type AppConfig struct { CONFIG_PATH string TickerInterval time.Duration ECDSA_KEY_2 string ECDSA_KEY_1 string P2P_PORT int PORT_2 int PORT_1 int LISTEN_NETWORK_2 string LISTEN_NETWORK_1 string ORACLE_CONTRACT_ADDRESS_2 string ORACLE_CONTRACT_ADDRESS_1 string TOKENPOOL_ADDRESS_2 string TOKENPOOL_ADDRESS_1 string BRIDGE_ADDRESS_2 string BRIDGE_ADDRESS_1 string NETWORK_RPC_2 string NETWORK_RPC_1 string KEY_FILE string }
var Config AppConfig
Config is global object that holds all application level variables.
func LoadConfigAndArgs ¶
Click to show internal directories.
Click to hide internal directories.