vmview

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package vmview serves a browser-based VNC viewer (noVNC) so users can watch a QEMU VM (e.g. a golden-image bake) live. QEMU exposes RFB over a websocket (-vnc …,websocket=PORT); this serves the embedded noVNC client that connects to it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, httpAddr string, wsPort int, logger *slog.Logger) error

Serve runs the viewer HTTP server until ctx is cancelled. wsPort is the QEMU VNC websocket port; the landing page auto-connects the browser to it (using the hostname the browser used, so it works locally and remotely).

Types

This section is empty.

Jump to

Keyboard shortcuts

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