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

Method PreHandleFunc

method.go:181–183  ·  view source on GitHub ↗

PreHandleFunc is the same as PreHandle. It accepts a HandlerFunc.

(handler HandlerFunc)

Source from the content-addressed store, hash-verified

179
180// PreHandleFunc is the same as PreHandle. It accepts a HandlerFunc.
181func (k *Kite) PreHandleFunc(handler HandlerFunc) {
182 k.PreHandle(handler)
183}
184
185// PostHandle registers an handler which is executed after a kite.Handler
186// method is executed. Calling PostHandler multiple times registers multiple

Callers 5

TestMethod_LatestFunction · 0.45
TestMethod_FirstFunction · 0.45
TestMethod_ErrorFunction · 0.45
TestMethod_BaseFunction · 0.45
mainFunction · 0.45

Calls 1

PreHandleMethod · 0.95

Tested by 4

TestMethod_LatestFunction · 0.36
TestMethod_FirstFunction · 0.36
TestMethod_ErrorFunction · 0.36
TestMethod_BaseFunction · 0.36