Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Default is the default config Default = Config{ API: API{ URL: "api.testnet.iotex.one:80", }, } )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { API API `yaml:"api"` Log log.GlobalConfig `yaml:"log"` SubLogs map[string]log.GlobalConfig `yaml:"subLogs"` RunInterval uint64 `yaml:"runInterval"` GasLimit uint64 `yaml:"gaslimit"` GasPrice uint64 `yaml:"gasprice"` AlertThreshold uint64 `yaml:"alertThreshold"` Transfer transfer `yaml:"transfer"` Xrc20 xrc20 `yaml:"xrc20"` Execution execution `yaml:"execution"` }
Config is the root config struct, each package's config should be put as its sub struct
Click to show internal directories.
Click to hide internal directories.