Documentation
¶
Overview ¶
Package http composes the HTTP/2 listener that fronts the gRPC API, the optional embedded WebUI, and the security.txt endpoint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
ListenAndServe builds the middleware stack and starts the HTTP/2 listener described by cfg. It blocks for the lifetime of the listener.
func SecurityTxtInjector ¶
func SecurityTxtInjector(cfg utils.SecurityTxtConfig) http.Handler
SecurityTxtInjector returns an http.Handler that serves cfg as a plain-text RFC 9116 security.txt document.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package grpc wires the LookingGlassService into a http.ServeMux and drives the background router health-check loop.
|
Package grpc wires the LookingGlassService into a http.ServeMux and drives the background router health-check loop. |
|
Package webui hosts the runtime-config injector for the embedded WebUI.
|
Package webui hosts the runtime-config injector for the embedded WebUI. |
Click to show internal directories.
Click to hide internal directories.