internal/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT

Directories

Path Synopsis
Package config defines the on-disk schema for tunnels.toml and merges it with ~/.ssh/config to produce ResolvedTunnel values ready for internal/tunnel to use.
Package config defines the on-disk schema for tunnels.toml and merges it with ~/.ssh/config to produce ResolvedTunnel values ready for internal/tunnel to use.
Package logbuffer holds an in-memory ring of per-tunnel log lines.
Package logbuffer holds an in-memory ring of per-tunnel log lines.
Package manager orchestrates multiple tunnels: it loads them from config (optionally filtered by selector names or group), drives the lifecycle in parallel, and broadcasts events to subscribers.
Package manager orchestrates multiple tunnels: it loads them from config (optionally filtered by selector names or group), drives the lifecycle in parallel, and broadcasts events to subscribers.
Package metrics provides per-tunnel counters and time-series ring buffers used by the manager event stream and (eventually) the TUI sparklines.
Package metrics provides per-tunnel counters and time-series ring buffers used by the manager event stream and (eventually) the TUI sparklines.
Package reload provides hot-reload primitives for tunnels.toml: a debounced fsnotify wrapper that emits a single Changed event per burst of writes, and a diff function that produces an Added/Removed/Modified plan against the previous config.
Package reload provides hot-reload primitives for tunnels.toml: a debounced fsnotify wrapper that emits a single Changed event per burst of writes, and a diff function that produces an Added/Removed/Modified plan against the previous config.
Package tui is the Bubble Tea TUI for sshiitake.
Package tui is the Bubble Tea TUI for sshiitake.
Package tunnel reconnect machinery: exponential-backoff loop that retries Start on transient SSH failures (EOF, connection reset, handshake timeouts) while letting permanent failures (host-key mismatch, unsupported options, no usable auth) surface immediately.
Package tunnel reconnect machinery: exponential-backoff loop that retries Start on transient SSH failures (EOF, connection reset, handshake timeouts) while letting permanent failures (host-key mismatch, unsupported options, no usable auth) surface immediately.

Jump to

Keyboard shortcuts

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