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

31 lines
509 B
Go

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