web

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Overview

Package web embeds the built web interface so that Veritix ships as one binary with nothing to install alongside it.

The single-binary promise is about runtime, not build time: Vite still has to run to produce dist/, but no Node is needed to run the result. `make web` builds it; a committed dist/.gitkeep keeps this package compiling before any build has happened, and the server reports the interface as not built.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Built

func Built() bool

Built reports whether a real build was embedded, as opposed to just the placeholder. The server uses it to say something useful instead of serving a blank page.

func FS

func FS() fs.FS

FS returns the built interface, rooted at web/dist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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