cmd/

directory
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: MIT

Directories

Path Synopsis
Command holt is the operator CLI for a reverse-tunnel hub: run the hub, enroll peers, and manage live tunnels.
Command holt is the operator CLI for a reverse-tunnel hub: run the hub, enroll peers, and manage live tunnels.
internal/blocklist
Package blocklist is the hub's identity denylist: the peer ids refused at attach time, durable across restarts.
Package blocklist is the hub's identity denylist: the peer ids refused at attach time, durable across restarts.
internal/clog
Package clog builds the CLI logger.
Package clog builds the CLI logger.
internal/config
Package config loads the operator CLI's connection profiles, used by the admin commands to reach a remote hub (e.g.
Package config loads the operator CLI's connection profiles, used by the admin commands to reach a remote hub (e.g.
internal/httpsrv
Package httpsrv is the listener plumbing behind the hub's four endpoints (tunnel, admin, proxy, metrics).
Package httpsrv is the listener plumbing behind the hub's four endpoints (tunnel, admin, proxy, metrics).
internal/hubapi
Package hubapi is the hub's own HTTP surface on the admin listener, alongside the Admin gRPC service: the enroll endpoint that mints join tokens, and — with --ui — the web console with its config and rotate-secret endpoints.
Package hubapi is the hub's own HTTP surface on the admin listener, alongside the Admin gRPC service: the enroll endpoint that mints join tokens, and — with --ui — the web console with its config and rotate-secret endpoints.
internal/hubmetrics
Package hubmetrics holds the OTel instruments the hub CLI records outside the library: the proxy data plane, refused attaches, and build info.
Package hubmetrics holds the OTel instruments the hub CLI records outside the library: the proxy data plane, refused attaches, and build info.
internal/hubsecret
Package hubsecret manages the hub's JWT signing secret: a 32-byte random value persisted as the jwt-secret file in the hub state directory.
Package hubsecret manages the hub's JWT signing secret: a 32-byte random value persisted as the jwt-secret file in the hub state directory.
internal/jwtauth
Package jwtauth is the hub's attach-time authentication: it issues and verifies the HMAC-SHA256 JWTs peers present, holds the signing secret so it can be rotated live (Secret), and enforces the whole check in front of the tunnel handler (Guard).
Package jwtauth is the hub's attach-time authentication: it issues and verifies the HMAC-SHA256 JWTs peers present, holds the signing secret so it can be rotated live (Secret), and enforces the whole check in front of the tunnel handler (Guard).
internal/peername
Package peername validates peer identities.
Package peername validates peer identities.
internal/store
Package store is the hub's durable non-secret state: a single SQLite database under the config directory (~/.holt/holt.db).
Package store is the hub's durable non-secret state: a single SQLite database under the config directory (~/.holt/holt.db).
internal/style
Package style is the CLI's small output vocabulary: a success mark, a dim note, and a plain column list.
Package style is the CLI's small output vocabulary: a success mark, a dim note, and a plain column list.
internal/token
Package token is the copy-paste enrollment token that carries what a peer needs to join: the JWT that authenticates it, and the hub's tunnel URL to dial.
Package token is the copy-paste enrollment token that carries what a peer needs to join: the JWT that authenticates it, and the hub's tunnel URL to dial.
internal/webui
Package webui owns the hub's embedded web console.
Package webui owns the hub's embedded web console.
Command starter-client is a minimal, self-contained holt peer — a template to copy when writing your own client.
Command starter-client is a minimal, self-contained holt peer — a template to copy when writing your own client.

Jump to

Keyboard shortcuts

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