beam

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dist embed.FS

Dist holds the Beam SPA. beam_ui_embed_stamp.txt is a content hash of dist/ (rewritten by scripts/beam_embed_stamp.sh after vite build). Embedding it alongside dist/ ensures the Go toolchain always recompiles this package when the UI bundle changes, so bin/contenox does not serve a stale embed.

Functions

func Handler

func Handler() http.Handler

Handler serves the embedded Beam React SPA with proper fallback for client-side routing

Types

This section is empty.

Jump to

Keyboard shortcuts

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