PostHandle adds a new kite handler which is executed after the method.
(handler Handler)
| 136 | |
| 137 | // PostHandle adds a new kite handler which is executed after the method. |
| 138 | func (m *Method) PostHandle(handler Handler) *Method { |
| 139 | m.postHandlers = append(m.postHandlers, handler) |
| 140 | return m |
| 141 | } |
| 142 | |
| 143 | // PostHandlerFunc adds a new kite handlerfunc which is executed before the |
| 144 | // method. |