humafiber

package
v2.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 11 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(r *fiber.App, config huma.Config) huma.API

func NewWithGroup added in v2.11.0

func NewWithGroup(r *fiber.App, g fiber.Router, config huma.Config) huma.API

func Unwrap added in v2.30.0

func Unwrap(ctx huma.Context) *fiber.Ctx

Unwrap extracts the underlying Fiber context from a Huma context. If passed a context from a different adapter it will panic. Keep in mind the limitations of the underlying Fiber/fasthttp libraries and how that impacts memory-safety: https://docs.gofiber.io/#zero-allocation. Do not keep references to the underlying context or its values!

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL