ing
This commit is contained in:
parent
bdb30d43ca
commit
3525f1d3c2
17
annotation/rpc-service.go
Normal file
17
annotation/rpc-service.go
Normal 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"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user