This commit is contained in:
crusader 2018-04-11 17:44:31 +09:00
parent bdb30d43ca
commit 3525f1d3c2

17
annotation/rpc-service.go Normal file
View File

@ -0,0 +1,17 @@
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"`
}