Skip skips/ignores the next handler from the handlers chain, it should be used inside a middleware.
()
| 734 | // Skip skips/ignores the next handler from the handlers chain, |
| 735 | // it should be used inside a middleware. |
| 736 | func (ctx *Context) Skip() { |
| 737 | ctx.HandlerIndex(ctx.currentHandlerIndex + 1) |
| 738 | } |
| 739 | |
| 740 | const ( |
| 741 | stopExecutionIndex = -1 |