Documentation
¶
Overview ¶
Package webui embeds a pinned release of the mast-web operator UI (github.com/go-steer/mast-web) so the agent binary can serve it at /ui/* on its attach listener when the --ui flag is set.
The dist/ subdirectory is populated at build time by dev/tools/fetch-mast-web (which downloads the release tagged in the top-level .mast-web-version file). A .gitkeep file ensures the directory exists on a fresh clone so //go:embed succeeds even before fetch-mast-web has run; in that state HasAssets returns false and the --ui startup path emits a clear operator-facing error instead of serving an empty UI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.