webui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package webui serves the built Chetter web UI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler returns an SPA file server for the embedded UI. During local development it falls back to web/build when embedded assets are absent.

func NewHandler

func NewHandler(dist fs.FS) http.Handler

NewHandler returns an HTTP handler that serves files from dist and falls back to index.html 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