PreHandleFunc is the same as PreHandle. It accepts a HandlerFunc.
(handler HandlerFunc)
| 179 | |
| 180 | // PreHandleFunc is the same as PreHandle. It accepts a HandlerFunc. |
| 181 | func (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 |