MCPcopy Index your code
hub / github.com/koding/kite / Handle

Method Handle

method.go:161–163  ·  view source on GitHub ↗

Handle registers the handler for the given method. The handler is called when a method call is received from a Kite.

(method string, handler Handler)

Source from the content-addressed store, hash-verified

159// Handle registers the handler for the given method. The handler is called
160// when a method call is received from a Kite.
161func (k *Kite) Handle(method string, handler Handler) *Method {
162 return k.addHandle(method, handler)
163}
164
165// HandleFunc registers a handler to run when a method call is received from a
166// Kite. It returns a *Method option to further modify certain options on a

Callers 3

addDefaultHandlersMethod · 0.95
HandleHTTPMethod · 0.45
NewFunction · 0.45

Calls 1

addHandleMethod · 0.95

Tested by

no test coverage detected