
ui
Package ui provides the built-in web dashboard for operational visibility, serving HTML pages, JSON API endpoints, and static assets.
Index
type BackendOps
BackendOps is the narrow surface of *proxy.BackendManager that the UI dashboard depends on for operations not exposed via a named sub-manager. *proxy.BackendManager satisfies it.
type Deps
Deps holds the dependencies New requires.
type Handler
Handler serves the web UI dashboard.
func New
New is the explicit-deps constructor. The DI layer constructs Deps and passes it here; tests build Deps directly. Each field is the smallest contract the handler uses, so wiring stays visible at the call site.
func (*Handler) Register
Register mounts the UI routes on the given mux under the configured prefix.
func (*Handler) UpdateConfig
UpdateConfig atomically replaces the config used by the dashboard. Called on SIGHUP to keep the dashboard in sync with the running config.
Generated by gomarkdoc