()
| 58 | } |
| 59 | |
| 60 | func (e ErrStatusCode) Error() string { |
| 61 | return fmt.Sprintf("Request to `%s` responded with %d %s", |
| 62 | e.URL, e.StatusCode, http.StatusText(e.StatusCode)) |
| 63 | } |
| 64 | |
| 65 | // Call calls a remote procedure on another node, specified by the path. |
| 66 | func (c *Client) Call(ctx context.Context, path string, request, response interface{}) error { |
no outgoing calls