Help us shape the future of Go! Take the 2026 Go Developer Survey

dashboard

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

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 serves the real-time web dashboard.

func NewDashboard

func NewDashboard(port int, provider StatsProvider, logger *slog.Logger) *Dashboard

NewDashboard creates a new dashboard server.

func (*Dashboard) Start

func (d *Dashboard) Start() error

Start starts the dashboard server.

type StatsProvider

type StatsProvider interface {
	GetStats() map[string]any
	GetState() string
}

StatsProvider provides engine statistics.

Jump to

Keyboard shortcuts

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