commons-go/core/annotation/rpc-service.go
crusader 796da7bbfe ing
2018-04-12 18:38:04 +09:00

18 lines
329 B
Go

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"`
}