MCPcopy Create free account
hub / github.com/koding/kite / Response

Struct Response

request.go:56–59  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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.
56type 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.
62func (c *Client) runMethod(method *Method, args *dnode.Partial) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected