Documentation
¶
Overview ¶
Package httpserver composes application and management HTTP handlers and serves them independently.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Application serves application and API traffic.
Application http.Handler
// Management serves operational traffic such as health, readiness, and metrics.
Management http.Handler
// RoutePrefix mounts public routes beneath the deployment prefix; management routes remain unprefixed.
RoutePrefix string
}
Config supplies public and operational routes and the application deployment prefix.
Click to show internal directories.
Click to hide internal directories.