attach

package
v1.0.260758 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package attach provides a thin Unix-socket snapshot/control attach path.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunViewer

func RunViewer(path string) error

RunViewer attaches to a socket, paints diff frames, and forwards local keyboard/mouse input back to the host desktop. Ctrl+Q detaches.

func Serve

func Serve(srv *server.Server, path string) error

Serve listens on a Unix socket and streams binary cell-diff frames to clients, reading key/mouse input back from them in the other direction. See internal/proto's FrameJSON/FrameDiff doc comment for the wire framing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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