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

Struct CallbackSpec

dnode/callback.go:66–70  ·  view source on GitHub ↗

CallbackSpec is a structure encapsulating a Function and it's Path. It is the type of the values in callbacks map.

Source from the content-addressed store, hash-verified

64// CallbackSpec is a structure encapsulating a Function and it's Path.
65// It is the type of the values in callbacks map.
66type CallbackSpec struct {
67 // Path represents the callback's path in the arguments structure.
68 Path Path
69 Function Function
70}
71
72// Path represents a callback function's path in the arguments structure.
73// Contains mixture of string and integer values.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected