Response is the type of the object that is returned from request handlers and the type of only argument that is passed to callback functions.
| 54 | // Response is the type of the object that is returned from request handlers |
| 55 | // and the type of only argument that is passed to callback functions. |
| 56 | type Response struct { |
| 57 | Error *Error `json:"error" dnode:"-"` |
| 58 | Result interface{} `json:"result"` |
| 59 | } |
| 60 | |
| 61 | // runMethod is called when a method is received from remote Kite. |
| 62 | func (c *Client) runMethod(method *Method, args *dnode.Partial) { |
nothing calls this directly
no outgoing calls
no test coverage detected