web

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package web serves the dashboard, baked into the binary.

The built frontend under dist/ is committed rather than gitignored. That is a deliberate trade: it makes diffs noisier, but it means `go install` produces a working binary for someone who has never had Node installed, which matters more for a tool whose whole promise is "run one thing and it works". Rebuild it with `make web`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS() (fs.FS, error)

FS returns the built dashboard as a filesystem rooted at the asset directory.

func Handler

func Handler() http.Handler

Handler serves the dashboard, falling back to index.html for any path the build did not produce so client-side routes survive a page reload.

Types

This section is empty.

Jump to

Keyboard shortcuts

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