Help us shape the future of Go! Take the 2026 Go Developer Survey

http/

directory
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0

Directories

Path Synopsis
Package middleware holds the Hertz middleware of the HTTP API: tracing, request logging and request metadata, CORS, session authentication and the administrator guard, the device transport envelope and the payment callback lookup.
Package middleware holds the Hertz middleware of the HTTP API: tracing, request logging and request metadata, CORS, session authentication and the administrator guard, the device transport envelope and the payment callback lookup.
Package routes is the URL table of the HTTP API: it registers every route with its middleware and hands each handler its module's facade.
Package routes is the URL table of the HTTP API: it registers every route with its middleware and hands each handler its module's facade.
Package httpserver builds the Hertz server of the HTTP API: the middleware every request passes (tracing, request logging, CORS), the routes of package routes, and the Telegram webhook and payment notify handlers that their modules register.
Package httpserver builds the Hertz server of the HTTP API: the middleware every request passes (tracing, request logging, CORS), the routes of package routes, and the Telegram webhook and payment notify handlers that their modules register.
Package setup serves the first-installation wizard.
Package setup serves the first-installation wizard.
Package validation owns request-DTO validation independently from the application composition root.
Package validation owns request-DTO validation independently from the application composition root.

Jump to

Keyboard shortcuts

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