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

Method PreHandleFunc

method.go:133–135  ·  view source on GitHub ↗

PreHandlerFunc adds a new kite handlerfunc which is executed before the method.

(handler HandlerFunc)

Source from the content-addressed store, hash-verified

131// PreHandlerFunc adds a new kite handlerfunc which is executed before the
132// method.
133func (m *Method) PreHandleFunc(handler HandlerFunc) *Method {
134 return m.PreHandle(handler)
135}
136
137// PostHandle adds a new kite handler which is executed after the method.
138func (m *Method) PostHandle(handler Handler) *Method {

Callers

nothing calls this directly

Calls 1

PreHandleMethod · 0.95

Tested by

no test coverage detected