webui

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

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

func Handler() http.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL