huma

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: MIT Imports: 4 Imported by: 0

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