package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jul 30, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Body[B any] struct {
Body B
}
type BodyPath[B any, P any] struct {
Body B
Path P
}
type BodyPathQuery[B any, P any, Q any] struct {
Body B
Path P
Query Q
}
type BodyQuery[B any, Q any] struct {
Body B
Query Q
}
An empty struct.
Use this for instance for endpoints that take no argument at all,
e.g. `GET /health`.
type Path[P any] struct {
Path P
}
type PathQuery[P any, Q any] struct {
Path P
Query Q
}
type Query[Q any] struct {
Query Q
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.