dashboard

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package dashboard serves the web UI, embedded into the binary.

The UI is built into dist/ (gitignored apart from .gitkeep). When dist/ has no index.html, for example in a fresh clone, a placeholder page is served so the Go build never depends on the frontend build.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler serves the dashboard embedded in this binary.

func HandlerFS

func HandlerFS(fsys fs.FS) http.Handler

HandlerFS serves a dashboard build from fsys: files as they are, and index.html for any other path, so that deep links such as /queues/emails load the app and its router takes over. A build that wraps the dashboard (workly-cloud) serves its own dist with it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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