Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(cfg ReportSection, mod string)
Types ¶
type ReportSection ¶
type ReportSection struct {
Mod string `yaml:"mod"`
Enabled bool `yaml:"enabled"`
Interval int `yaml:"interval"`
Timeout int `yaml:"timeout"`
HTTPPort string `yaml:"http_port"`
RPCPort string `yaml:"rpc_port"`
Remark string `yaml:"remark"`
}
var Config ReportSection
Click to show internal directories.
Click to hide internal directories.