数据 输入输出 处理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
317 B

package monitors
import "goInOut/dbOperate"
type HttpMonitor struct {
HttpClient *dbOperate.HttpHelper
*MonitorHelper
}
func (the *HttpMonitor) RegisterTask(cron string, fun func()) {
the.registerTask(cron, fun)
}
func (the *HttpMonitor) Start() {
the.HttpClient.Initial()
the.initial()
the.monitorStart()
}