(ctx context.Context, in *GetUserRequest, opts ...http.CallOption)
| 65 | } |
| 66 | |
| 67 | func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error) { |
| 68 | var out GetUserReply |
| 69 | pattern := "/api/service/demo/user/{id}" |
| 70 | path := binding.EncodeURL(pattern, in, true) |
| 71 | opts = append(opts, http.Operation(OperationUserGetUser)) |
| 72 | opts = append(opts, http.PathTemplate(pattern)) |
| 73 | err := c.cc.Invoke(ctx, "GET", path, nil, &out, opts...) |
| 74 | if err != nil { |
| 75 | return nil, err |
| 76 | } |
| 77 | return &out, err |
| 78 | } |
nothing calls this directly
no outgoing calls
no test coverage detected