PreHandlerFunc adds a new kite handlerfunc which is executed before the method.
(handler HandlerFunc)
| 131 | // PreHandlerFunc adds a new kite handlerfunc which is executed before the |
| 132 | // method. |
| 133 | func (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. |
| 138 | func (m *Method) PostHandle(handler Handler) *Method { |