dashboard

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

@sk-task dashboard-polish#T1.1: Dashboard package with SSE handler + HTML (AC-001, AC-003)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dashboard

type Dashboard struct {
	// contains filtered or unexported fields
}

Dashboard provides a real-time web UI for monitoring crew execution via SSE.

func New

func New(bus *telemetry.EventBus) *Dashboard

New creates a Dashboard that subscribes to all EventBus events and fans them out to SSE listeners.

func (*Dashboard) HandleHTML

func (d *Dashboard) HandleHTML(w http.ResponseWriter, r *http.Request)

HandleHTML serves the embedded dashboard HTML page.

func (*Dashboard) HandleSSE

func (d *Dashboard) HandleSSE(w http.ResponseWriter, r *http.Request)

HandleSSE handles Server-Sent Events connections.

Jump to

Keyboard shortcuts

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