package monitors type CommonMonitor struct { *MonitorHelper } func (the *CommonMonitor) RegisterFun(fun func()) { the.registerFun(fun) } func (the *CommonMonitor) Start() { the.initial() the.monitorStart() }