adminweb

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package adminweb embeds the pre-built admin dashboard SPA (SvelteKit static output).

The admin-web/build/ directory is copied here by build.sh before Go compilation. If no admin-web build exists, the placeholder file ensures the embed still compiles (the admin-web feature simply won't be available at runtime).

Build flow:

  1. cd admin-web && npm run build (produces admin-web/build/)
  2. build.sh copies admin-web/build/ → internal/adminweb/build/
  3. go build embeds internal/adminweb/build/ into the binary

Index

Constants

This section is empty.

Variables

View Source
var Files embed.FS

Files contains the pre-built admin web dashboard SPA. When the admin-web build is available, this contains the full SPA (index.html, JS, CSS, etc.). When the build is not available, this contains only the placeholder file.

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