probe/annotation/service.go

18 lines
280 B
Go
Raw Normal View History

2018-08-23 09:21:48 +00:00
package annotation
import (
"reflect"
oa "git.loafle.net/overflow/annotation-go"
)
func init() {
oa.Register(ServiceAnnotationType)
}
var ServiceAnnotationType = reflect.TypeOf((*ServiceAnnotation)(nil))
type ServiceAnnotation struct {
oa.Annotation `@name:"@Service"`
}