package
0.0.0-20180710021347-baa1a54919e3
Repository: https://github.com/koding/kite.git
Documentation: pkg.go.dev
# Functions
Callback is the wrapper for function when sending.
New returns a pointer to a new Scrubber.
parseCallbacks parses the message's "callbacks" field and prepares callback functions in "arguments" field.
# Structs
ArgumentError is returned when received message contains invalid arguments.
CallbackNotFoundError is returned when there is no registered callback for received message.
CallbackSpec is a structure encapsulating a Function and it's Path.
Function is the type for sending and receiving functions in dnode messages.
Message is the JSON object to call a method at the other side.
MethodNotFoundError is returned when there is no registered handler for received method.
Partial is the type of "arguments" field in dnode.Message.
No description provided by the author
# Type aliases
Path represents a callback function's path in the arguments structure.