holt

command
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command holt is the operator CLI for a reverse-tunnel hub: run the hub, enroll peers, and manage live tunnels. Peers authenticate with a JWT; transport encryption is the deployment's job (a TLS edge, ingress, or mesh in front of the hub), so there is no certificate to manage.

The peer side is a separate program — see cmd/starter-client, or write your own; both consume the enroll token.

holt hub                     # run the hub
holt enroll <peer>           # mint a join token for a peer
holt rotate-secret           # rotate the JWT secret (invalidates tokens)
holt expose <addr> --token … # expose a local HTTP service through the hub
holt ls                      # list live tunnels
holt kill <peer>             # disconnect a tunnel (peer may reconnect)
holt block <peer>            # disconnect + ban the peer id
holt unblock <peer>          # lift a block

Directories

Path Synopsis
internal
admin
Package admin implements the holt hub's Admin gRPC service over a *registry.Registry: list live tunnels, force one closed, and — when a Blocker is supplied — ban/unban a peer id.
Package admin implements the holt hub's Admin gRPC service over a *registry.Registry: list live tunnels, force one closed, and — when a Blocker is supplied — ban/unban a peer id.
capture
Package capture runs short-lived capture endpoints inside the hub process.
Package capture runs short-lived capture endpoints inside the hub process.
clog
Package clog builds the CLI logger.
Package clog builds the CLI logger.
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.
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).
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.
hubmetrics
Package hubmetrics holds the OTel instruments the hub CLI records outside the library: refused attaches, and build info.
Package hubmetrics holds the OTel instruments the hub CLI records outside the library: refused attaches, and build info.
hubsecret
Package hubsecret manages the hub's JWT signing secret: a 32-byte random value the hub signs peer JWTs with, and enroll (local mode) reads to mint tokens.
Package hubsecret manages the hub's JWT signing secret: a 32-byte random value the hub signs peer JWTs with, and enroll (local mode) reads to mint tokens.
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).
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.
webui
Package webui owns the hub's embedded web console.
Package webui owns the hub's embedded web console.

Jump to

Keyboard shortcuts

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