package service import ( "reflect" cda "git.loafle.net/commons_go/di/annotation" cdr "git.loafle.net/commons_go/di/registry" ) func init() { cdr.RegisterType(reflect.TypeOf((*ProbeService)(nil)), &cda.ComponentAnnotation{}) } type ProbeService struct { } func (ps *ProbeService) Start() error { return nil } func (ps *ProbeService) Stop() error { return nil } func (ps *ProbeService) Update() error { return nil }