web

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package web embeds the built frontend (the Vue SPA) into the Go binary so a single `miabi` executable serves both the API and the UI. `dist/` is a build artifact: only a .gitkeep placeholder is committed, so `go build` works even when the UI has not been built.

Index

Constants

This section is empty.

Variables

View Source
var Assets embed.FS

Assets holds the built SPA under a top-level "dist/" directory, served via Okapi's WebFS with WebConfig{Root: "dist"}. The `all:` prefix keeps dotted files (the .gitkeep placeholder, Vite's occasional dotfiles) in the embed.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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