MCPcopy Create free account
hub / github.com/kataras/iris / Skip

Method Skip

context/context.go:736–738  ·  view source on GitHub ↗

Skip skips/ignores the next handler from the handlers chain, it should be used inside a middleware.

()

Source from the content-addressed store, hash-verified

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

Callers 1

NextOrMethod · 0.95

Calls 1

HandlerIndexMethod · 0.95

Tested by

no test coverage detected