Documentation
¶
Overview ¶
Package ui serves the optional admin web UI on its own listener so the API URL space can stay 100% owned by table names. The UI is enabled via ui.enabled in the config and shuts down with the API server when the shared signal context fires.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
New constructs the UI server. apiOrigin is the URL the browser uses to reach the API server (e.g., "http://localhost:7777"); HTMX requests on the rendered pages target it directly, so the API host must allow this origin via CORS.
Click to show internal directories.
Click to hide internal directories.