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

Struct Message

dnode/message.go:7–16  ·  view source on GitHub ↗

Message is the JSON object to call a method at the other side.

Source from the content-addressed store, hash-verified

5
6// Message is the JSON object to call a method at the other side.
7type Message struct {
8 // Method can be an integer or string.
9 Method interface{} `json:"method"`
10
11 // Array of arguments
12 Arguments *Partial `json:"arguments"`
13
14 // Integer map of callback paths in arguments
15 Callbacks map[string]Path `json:"callbacks"`
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected