Documentation
¶
Overview ¶
Package web embeds the runeward dashboard's static assets and exposes an http.Handler that serves them. It depends only on the Go standard library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler returns an http.Handler that serves the embedded dashboard assets. Requests for "/" resolve to index.html via the standard file server.
The assets are embedded with a zero modtime and carry no content hash, so without an explicit directive browsers heuristically cache them and can keep serving a stale app.js/index.html across rebuilds. We send no-store so every reload picks up the current binary's dashboard.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.