web

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package web serves the embedded Beam React SPA from the contenox binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeamFS

func BeamFS() fs.FS

BeamFS returns the embedded Beam dist as an io/fs.FS rooted at the dist dir.

func DevProxyHandler added in v0.32.8

func DevProxyHandler(target string) (http.Handler, error)

DevProxyHandler proxies Beam UI requests to a Vite dev server while the Go server remains the browser origin for /api and auth cookies.

func SPAHandler

func SPAHandler() http.Handler

SPAHandler serves Beam with an index.html fallback for client-side routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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