commons-go/core/annotation/rpc-service.go

18 lines
329 B
Go
Raw Permalink Normal View History

2018-04-11 08:44:31 +00:00
package annotation
import (
"reflect"
cda "git.loafle.net/commons/di-go/annotation"
)
var RPCServiceAnnotationType = reflect.TypeOf((*RPCServiceAnnotation)(nil))
func init() {
cda.RegisterAnnotation(RPCServiceAnnotationType)
}
type RPCServiceAnnotation struct {
cda.TypeAnnotation `@annotation:"@overflow:RPCService"`
}