Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "report"
)
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
Types ¶
type OutputConfig ¶
type OutputConfig struct { config.OutputConfig Interval int `json:"interval,omitempty"` TimeFormat string `json:"time_format,omitempty"` ReportPrefix string `json:"report_prefix,omitempty"` ProcessCount int `json:"-"` }
func DefaultOutputConfig ¶
func DefaultOutputConfig() OutputConfig
func (*OutputConfig) ReportLoop ¶
func (t *OutputConfig) ReportLoop(logger *logrus.Logger) (err error)
Click to show internal directories.
Click to hide internal directories.