Lines Matching defs:grpc
35 package grpc package
67 type grpc struct { struct
68 gen *generator.Generator
72 func (g *grpc) Name() string {
85 func (g *grpc) Init(gen *generator.Generator) {
91 func (g *grpc) objectNamed(name string) generator.Object {
97 func (g *grpc) typeName(str string) string {
102 func (g *grpc) P(args ...interface{}) { g.gen.P(args...) }
105 func (g *grpc) Generate(file *generator.FileDescriptor) {
130 func (g *grpc) GenerateImports(file *generator.FileDescriptor) {
145 …c) generateService(file *generator.FileDescriptor, service *pb.ServiceDescriptorProto, index int) {
289 func (g *grpc) generateUnimplementedServer(servName string, service *pb.ServiceDescriptorProto) {
303 func (g *grpc) generateServerMethodConcrete(servName string, method *pb.MethodDescriptorProto) {
318 func (g *grpc) generateClientSignature(servName string, method *pb.MethodDescriptorProto) string {
335 …servName, fullServName, serviceDescVar string, method *pb.MethodDescriptorProto, descExpr string) {
417 …) generateServerSignatureWithParamNames(servName string, method *pb.MethodDescriptorProto) string {
441 func (g *grpc) generateServerSignature(servName string, method *pb.MethodDescriptorProto) string {
464 …rpc) generateServerMethod(servName, fullServName string, method *pb.MethodDescriptorProto) string {