Lines Matching refs:methName
275 methName := generator.CamelCase(origMethName)
276 if reservedClientName[methName] {
277 methName += "_"
287 …return fmt.Sprintf("%s(ctx %s.Context%s, opts ...%s.CallOption) (%s, error)", methName, contextPkg…
292 methName := generator.CamelCase(method.GetName())
310 streamType := unexport(servName) + methName + "Client"
327 g.P("type ", servName, "_", methName, "Client interface {")
374 methName := generator.CamelCase(origMethName)
375 if reservedClientName[methName] {
376 methName += "_"
392 return methName + "(" + strings.Join(reqArgs, ", ") + ") " + ret
396 methName := generator.CamelCase(method.GetName())
397 hname := fmt.Sprintf("_%s_%s_Handler", servName, methName)
405 g.P("if interceptor == nil { return srv.(", servName, "Server).", methName, "(ctx, in) }")
408 g.P("FullMethod: ", strconv.Quote(fmt.Sprintf("/%s/%s", fullServName, methName)), ",")
411 g.P("return srv.(", servName, "Server).", methName, "(ctx, req.(*", inType, "))")
418 streamType := unexport(servName) + methName + "Server"
423 g.P("return srv.(", servName, "Server).", methName, "(m, &", streamType, "{stream})")
425 g.P("return srv.(", servName, "Server).", methName, "(&", streamType, "{stream})")
435 g.P("type ", servName, "_", methName, "Server interface {")