2017-12-02 03:13:08 +00:00
|
|
|
package service
|
|
|
|
|
2017-12-08 12:01:38 +00:00
|
|
|
import (
|
|
|
|
"reflect"
|
|
|
|
|
|
|
|
cda "git.loafle.net/commons_go/di/annotation"
|
|
|
|
cdr "git.loafle.net/commons_go/di/registry"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2018-03-15 13:52:23 +00:00
|
|
|
cdr.RegisterType(reflect.TypeOf((*ProbeService)(nil)))
|
2017-12-08 12:01:38 +00:00
|
|
|
}
|
|
|
|
|
2017-12-04 11:59:51 +00:00
|
|
|
type ProbeService struct {
|
2018-03-15 13:52:23 +00:00
|
|
|
cda.TypeAnnotation `annotation:"@overFlow:Service()"`
|
2017-12-04 11:59:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (ps *ProbeService) Start() error {
|
2017-12-05 10:02:58 +00:00
|
|
|
return nil
|
2017-12-04 11:59:51 +00:00
|
|
|
}
|
|
|
|
func (ps *ProbeService) Stop() error {
|
2017-12-05 10:02:58 +00:00
|
|
|
return nil
|
2017-12-04 11:59:51 +00:00
|
|
|
}
|
|
|
|
func (ps *ProbeService) Update() error {
|
2017-12-05 10:02:58 +00:00
|
|
|
return nil
|
2017-12-04 11:59:51 +00:00
|
|
|
}
|