huma

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 4 Imported by: 0 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

Overview

Package huma is the bare Huma-over-Gin row of the BENCH-1 framework-tax microbenchmark matrix (issue #141): Huma's typed handlers, validation, and OpenAPI emission on top of Gin, without the Gombit runtime around it and without the D10 response envelope (that's a Gombit convention, not a Huma default). The Gombit row (benchmarks/micro/gombit) registers the same four scenarios, enveloped, through framework.App instead (scenario.RegisterEnvelopedRoutes), so the delta between the two rows isolates the Gombit runtime's own cost.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer() *ginengine.Engine

NewServer returns a bare Huma-over-Gin router carrying the same four scenarios (plaintext, JSON, path parameter, validated POST) as the other rows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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