Lines Matching refs:methName
310 methName := generator.CamelCase(method.GetName())
320 methName := generator.CamelCase(origMethName)
321 if reservedClientName[methName] {
322 methName += "_"
332 …return fmt.Sprintf("%s(ctx %s.Context%s, opts ...%s.CallOption) (%s, error)", methName, contextPkg…
337 methName := generator.CamelCase(method.GetName())
355 streamType := unexport(servName) + methName + "Client"
372 g.P("type ", servName, "_", methName, "Client interface {")
419 methName := generator.CamelCase(origMethName)
420 if reservedClientName[methName] {
421 methName += "_"
437 return methName + "(" + strings.Join(reqArgs, ", ") + ") " + ret
443 methName := generator.CamelCase(origMethName)
444 if reservedClientName[methName] {
445 methName += "_"
461 return methName + "(" + strings.Join(reqArgs, ", ") + ") " + ret
465 methName := generator.CamelCase(method.GetName())
466 hname := fmt.Sprintf("_%s_%s_Handler", servName, methName)
474 g.P("if interceptor == nil { return srv.(", servName, "Server).", methName, "(ctx, in) }")
477 g.P("FullMethod: ", strconv.Quote(fmt.Sprintf("/%s/%s", fullServName, methName)), ",")
480 g.P("return srv.(", servName, "Server).", methName, "(ctx, req.(*", inType, "))")
487 streamType := unexport(servName) + methName + "Server"
492 g.P("return srv.(", servName, "Server).", methName, "(m, &", streamType, "{stream})")
494 g.P("return srv.(", servName, "Server).", methName, "(&", streamType, "{stream})")
504 g.P("type ", servName, "_", methName, "Server interface {")