web

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package web serves the Phase 9 dashboard: a self-contained, offline single-page app over the same HTTP API the CLI and connectors use. It embeds its assets so the binary ships the UI with no external files, CDNs, or network calls.

It intentionally exposes the same surface as internal/web — package name web, a single Handler() constructor — so the master swaps it in by changing one import path in server.go (docker-security/internal/web → docker-security/web); the web.Handler() call site is unchanged. The richer app consumes the store's read endpoints (/v1/inventory, /v1/findings, /v1/trends, /v1/scans) and degrades gracefully when the store is not enabled.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler serves the embedded dashboard (index.html) and its static assets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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