web

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package web serves the embedded browser client and bridges WebSocket connections to the daemon's Unix socket. One WS binary message carries exactly one wire frame, so the browser speaks the same protocol as the TUI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(socketPath string) http.Handler

Handler serves the embedded frontend at / and the frame bridge at /ws. Each /ws connection gets its own fresh connection to the daemon socket, mirroring how the TUI and stdio bridge use one conn per client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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