Documentation
¶
Overview ¶
Package webui serves the Factory UI embedded in the dispatcher binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler serves the embedded UI as a single-page app, for GET and HEAD only: existing files are served as-is (hashed assets under /assets/ are cached as immutable), and any other path falls back to index.html so client-side routes work. index.html is never cached. Paths under /api and /hooks are never the UI (404), and other methods get 405, so a misrouted API call or webhook delivery fails visibly instead of receiving a 200 HTML page.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.