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

Interface Handler

method.go:29–31  ·  view source on GitHub ↗

Objects implementing the Handler interface can be registered to a method. The returned result must be marshalable with json package.

Source from the content-addressed store, hash-verified

27// Objects implementing the Handler interface can be registered to a method.
28// The returned result must be marshalable with json package.
29type Handler interface {
30 ServeKite(*Request) (result interface{}, err error)
31}
32
33// HandlerFunc is a type adapter to allow the use of ordinary functions as
34// Kite handlers. If h is a function with the appropriate signature,

Callers 2

ServeKiteMethod · 0.65
runMethodMethod · 0.65

Implementers 2

Methodmethod.go
webRTCHandlerhandlers.go

Calls

no outgoing calls

Tested by

no test coverage detected