web

package
v0.5.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetsFS

func AssetsFS() fs.FS

AssetsFS returns the embedded static/assets subtree: the content-hashed, immutable JS/CSS bundles emitted by the build. The HTTP layer mounts this at GET /assets/ with a long-lived immutable Cache-Control header. When no build has run yet the subtree is empty and the file server simply 404s.

func Static

func Static() fs.FS

Static returns the full embedded static tree (index.html at its root, hashed build artifacts under assets/).

Types

This section is empty.

Jump to

Keyboard shortcuts

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