Internal

internal/contextvalue

github.com/gofiber/fiber/v3/internal/contextvalue

import "github.com/gofiber/fiber/v3/internal/contextvalue"

Functions

func Value[T any](ctx, key any) (T, bool)

Source: internal/contextvalue/contextvalue.go:23

Value retrieves a value stored under key from supported context types (fiber.Ctx, fiber.CustomCtx, context.Context, and *fasthttp.RequestCtx).