web

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SPAHandler added in v0.25.1

func SPAHandler() http.Handler

SPAHandler serves the built React SPA. For paths matching a file in static/dist/ it serves that file; all other paths receive index.html (SPA fallback).

func StaticHandler

func StaticHandler() http.Handler

StaticHandler serves files from the embedded static/ directory at GET /static/.

Types

This section is empty.

Jump to

Keyboard shortcuts

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