Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig() error
Types ¶
type AppConfig ¶
type AppConfig struct { // Example Variable PORT int LISTEN_NETWORK string POOL_ADDRESS string ORACLE_CONTRACT_ADDRESS string TOKENPOOL_ADDRESS string BRIDGE_ADDRESS string CHAIN_1_URL string CHAIN_2_URL string INFURA_URL string TickerInterval time.Duration }
var Config AppConfig
Config is global object that holds all application level variables.
func LoadConfigAndArgs ¶
func LoadConfigAndArgs() (cfg *AppConfig)
Click to show internal directories.
Click to hide internal directories.