(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption)
| 91 | } |
| 92 | |
| 93 | func (c *DemoHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserReply, error) { |
| 94 | var out CreateUserReply |
| 95 | pattern := "/api/gateway/interface/web3/demo/user" |
| 96 | path := binding.EncodeURL(pattern, in, false) |
| 97 | opts = append(opts, http.Operation(OperationDemoCreateUser)) |
| 98 | opts = append(opts, http.PathTemplate(pattern)) |
| 99 | err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...) |
| 100 | if err != nil { |
| 101 | return nil, err |
| 102 | } |
| 103 | return &out, err |
| 104 | } |
| 105 | |
| 106 | func (c *DemoHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserReply, error) { |
| 107 | var out GetUserReply |
nothing calls this directly
no outgoing calls
no test coverage detected