Help us shape the future of Go! Take the 2026 Go Developer Survey

ui

package
v0.2.50 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ui owns the embedded continuation "please wait" Svelte bundle.

Unlike the admin UI this is NOT served from a static route: the chassis returns the built single-file index.html as the *body* of the continuation poll response (so the browser stays on ?_txc.continuation=<rcid> and keeps polling). The bundle is produced by `cd continuation-ui && pnpm run build` (vite + vite-plugin-singlefile inlines all JS/CSS) and baked in via go:embed at compile time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitPage

func WaitPage() (html []byte, built bool)

WaitPage returns the page to serve while a continuation is running. built is true when the real Svelte bundle is present; false when it returns the minimal no-build fallback (pnpm absent / UI not built) so the chassis still serves a sane auto-refreshing page.

Types

This section is empty.

Jump to

Keyboard shortcuts

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