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.
19 lines
296 B
19 lines
296 B
2 weeks ago
|
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()
|
||
|
}
|