wsproxy

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Overview

Package wsproxy contains the bootstrap logic for the wsproxy sidecar (cmd/wsproxy). It hosts two endpoints:

  • Terminal WebSocket proxy (default :9003): routes dashboard terminal connections to the appropriate Worker cluster's sandbox terminal endpoint.
  • Sync manager + internal HTTP API (default :9004, enabled when AGENTBOX_SYNC_TOKEN is set): maintains persistent WebSocket connections to every Worker cluster and exposes management endpoints for API keys, SandboxTemplates, and cluster config.

Downstream distributions should import this package and invoke Run() from their thin main() wrapper to stay in sync with upstream wiring changes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Run is the single entry point for cmd/wsproxy. It parses flags (with env-var defaults), assembles the terminal proxy and optional sync manager layers, and blocks until the process is killed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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