frontend

package
v1.1.1-preview Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package frontend embeds the built web UI so a released binary is self-contained (no need to ship the client directory alongside it). The dist directory is populated by the client build (see the Makefile release target); a committed placeholder keeps `go build` working before the client has ever been built.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS() (fs.FS, bool)

FS returns the embedded client filesystem (rooted at dist) together with whether it actually holds a built UI (an index.html). When only the placeholder is present it returns ok=false, so callers fall back to serving from the --static-files directory on disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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