probe/service/DiscoveryService.go
crusader 14cd4345d7 ing
2018-08-23 19:00:34 +09:00

27 lines
495 B
Go

package service
import (
"reflect"
oa "git.loafle.net/overflow/annotation-go"
od "git.loafle.net/overflow/di-go"
)
func init() {
od.RegisterType(DiscoveryServiceType)
}
var DiscoveryServiceType = reflect.TypeOf((*DiscoveryService)(nil))
type DiscoveryService struct {
oa.TypeAnnotation `annotation:"@Injectable('name': 'DiscoveryService') @Service()"`
}
func (s *DiscoveryService) StartDiscover() error {
return nil
}
func (s *DiscoveryService) StopDiscover() error {
return nil
}