(ctx context.Context, in *GetUserRequest, opts ...http.CallOption)
| 104 | } |
| 105 | |
| 106 | func (c *DemoHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error) { |
| 107 | var out GetUserReply |
| 108 | pattern := "/api/gateway/interface/web3/demo/user/{id}" |
| 109 | path := binding.EncodeURL(pattern, in, true) |
| 110 | opts = append(opts, http.Operation(OperationDemoGetUser)) |
| 111 | opts = append(opts, http.PathTemplate(pattern)) |
| 112 | err := c.cc.Invoke(ctx, "GET", path, nil, &out, opts...) |
| 113 | if err != nil { |
| 114 | return nil, err |
| 115 | } |
| 116 | return &out, err |
| 117 | } |
nothing calls this directly
no outgoing calls
no test coverage detected