humaecho

package
v2.40.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MultipartMaxMemory int64 = 8 * 1024

MultipartMaxMemory is the maximum memory to use when parsing multipart form data.

View Source
var MultipartMaxMemoryV4 int64 = 8 * 1024

MultipartMaxMemoryV4 is the maximum memory to use when parsing multipart form data.

Functions

func New

func New(r *echo.Echo, config huma.Config) huma.API

func NewV4

func NewV4(r *echoV4.Echo, config huma.Config) huma.API

func NewV4WithGroup

func NewV4WithGroup(r *echoV4.Echo, g *echoV4.Group, config huma.Config) huma.API

NewV4WithGroup creates a new Huma API using the provided echo v4.x router and group, letting you mount the API at a sub-path. Can be used in combination with the `OpenAPI.Servers` field to set the correct base URL for the API / docs / schemas / etc.

func NewWithGroup

func NewWithGroup(r *echo.Echo, g *echo.Group, config huma.Config) huma.API

NewWithGroup creates a new Huma API using the provided Echo router and group, letting you mount the API at a sub-path. Can be used in combination with the `OpenAPI.Servers` field to set the correct base URL for the API / docs / schemas / etc.

func Unwrap

func Unwrap(ctx huma.Context) *echo.Context

Unwrap extracts the underlying Echo context from a Huma context. If passed a context from a different adapter it will panic.

func UnwrapV4

func UnwrapV4(ctx huma.Context) echoV4.Context

UnwrapV4 extracts the underlying Echo v4.x context from a Huma context. If passed a context from a different adapter it will panic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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