dashboard

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package dashboard provides a live browser viewport stream over WebSocket. It captures CDP screencast frames and broadcasts them to connected clients, plus an activity feed of navigation and interaction events.

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 wraps the HTTP server and screencast streamer.

func Start

func Start(page *rod.Page, port int) (*Dashboard, string, error)

Start begins screencasting and serving the dashboard UI on the given port. Returns the URL where the dashboard is accessible.

func (*Dashboard) PushEvent

func (d *Dashboard) PushEvent(text string)

PushEvent sends a text event to all connected dashboard clients.

func (*Dashboard) Stop

func (d *Dashboard) Stop()

Stop shuts down the dashboard server and stops screencasting.

Jump to

Keyboard shortcuts

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