dashboard

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package dashboard provides the HTTP API and WebSocket telemetry server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the dashboard HTTP + WS server.

func NewServer

func NewServer(cfg ServerConfig) *Server

NewServer creates the dashboard server and registers all routes.

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Start listens and serves until ctx is cancelled.

type ServerConfig

type ServerConfig struct {
	Port       uint16
	ConfigPath string
	StateDir   string
	Store      *otel.Store
	Events     <-chan otel.WSEvent
}

ServerConfig configures the dashboard server.

Jump to

Keyboard shortcuts

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