web

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package web embeds the runeward dashboard's static assets and exposes an http.Handler that serves them. It depends only on the Go standard library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS() fs.FS

FS returns the embedded filesystem containing the dashboard assets.

func Handler

func Handler() http.Handler

Handler returns an http.Handler that serves the embedded dashboard assets. Requests for "/" resolve to index.html via the standard file server.

The assets are embedded with a zero modtime and carry no content hash, so without an explicit directive browsers heuristically cache them and can keep serving a stale app.js/index.html across rebuilds. We send no-store so every reload picks up the current binary's dashboard.

Types

This section is empty.

Jump to

Keyboard shortcuts

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