Documentation
¶
Overview ¶
Package webui provides the web management UI API and static file serving.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUI ¶
RegisterUI registers the web UI routes (static + API) on the given mux.
func StaticHandler ¶
StaticHandler returns an http.Handler that serves the embedded SPA. All requests to /ui/* are served from the embedded static/ directory.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API provides JSON API endpoints for the web UI.
func (*API) RegisterRoutes ¶
RegisterRoutes registers API routes on the given mux.
Click to show internal directories.
Click to hide internal directories.