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.
18 lines
296 B
18 lines
296 B
package monitors
|
|
|
|
import "goUpload/dbHelper"
|
|
|
|
type HttpMonitor struct {
|
|
HttpClient *dbHelper.HttpHelper
|
|
*MonitorHelper
|
|
}
|
|
|
|
func (the *HttpMonitor) RegisterFun(fun func()) {
|
|
the.registerFun(fun)
|
|
}
|
|
|
|
func (the *HttpMonitor) Start() {
|
|
the.HttpClient.Initial()
|
|
the.initial()
|
|
the.monitorStart()
|
|
}
|
|
|