web

package
v0.1.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package web embeds the compiled dashboard (a SvelteKit static SPA) into the pushq binary.

build/ is not committed — CI, Docker, and GoReleaser run `npm run build` before compiling, so official binaries carry the real dashboard. Only build/.gitkeep is in git, so that `go build` and `go install github.com/blissfulrays/pushq/cmd/pushq@latest` work without Node installed; such a build serves the placeholder below at /ui/.

Run `make web` to build the dashboard locally.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bundled

func Bundled() bool

Bundled reports whether this binary carries the real dashboard.

func Handler

func Handler() http.Handler

Handler serves the dashboard with an SPA fallback: unknown paths get index.html so client-side routing works. Mount it under /ui.

Types

This section is empty.

Jump to

Keyboard shortcuts

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