probe/service/SNMPService.go

27 lines
451 B
Go
Raw Normal View History

2018-08-23 09:21:48 +00:00
package service
import (
"reflect"
oa "git.loafle.net/overflow/annotation-go"
od "git.loafle.net/overflow/di-go"
)
func init() {
od.RegisterType(SNMPServiceType)
}
var SNMPServiceType = reflect.TypeOf((*SNMPService)(nil))
type SNMPService struct {
oa.TypeAnnotation `annotation:"@Injectable('name': 'SNMPService') @Service()"`
}
2018-08-23 10:00:34 +00:00
func (s *SNMPService) ScanSNMP() error {
return nil
2018-08-23 09:21:48 +00:00
}
2018-08-23 10:00:34 +00:00
func (s *SNMPService) PingSNMP() error {
return nil
2018-08-23 09:21:48 +00:00
}