wsterm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package wsterm bridges a browser websocket to a docker exec TTY, the one implementation behind both the container terminal and the db console.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(c echo.Context, rt execTTYer, containerID string, cmd []string) error

Serve upgrades the request to a websocket and bridges it to cmd running on a TTY inside the container (nil cmd = a shell). Returns when either side closes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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