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

Method PostHandle

method.go:189–191  ·  view source on GitHub ↗

PostHandle registers an handler which is executed after a kite.Handler method is executed. Calling PostHandler multiple times registers multiple handlers. A non-error return triggers the execution of the next handler. The execution order is FIFO.

(handler Handler)

Source from the content-addressed store, hash-verified

187// handlers. A non-error return triggers the execution of the next handler. The
188// execution order is FIFO.
189func (k *Kite) PostHandle(handler Handler) {
190 k.postHandlers = append(k.postHandlers, handler)
191}
192
193// PostHandleFunc is the same as PostHandle. It accepts a HandlerFunc.
194func (k *Kite) PostHandleFunc(handler HandlerFunc) {

Callers 1

PostHandleFuncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected