MCPcopy
hub / github.com/gofiber/fiber / isCustomCtx

Function isCustomCtx

ctx_interface.go:86–92  ·  view source on GitHub ↗
(ctx CustomCtx)

Source from the content-addressed store, hash-verified

84}
85
86func isCustomCtx(ctx CustomCtx) bool {
87 if ctx == nil {
88 return false
89 }
90 _, ok := ctx.(*DefaultCtx)
91 return !ok
92}
93
94func (app *App) acquireDefaultCtx(fctx *fasthttp.RequestCtx) (*DefaultCtx, bool) {
95 rawCtx := app.pool.Get()

Callers 1

setHandlerCtxIfNeededMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected