Directories
¶
| Path | Synopsis |
|---|---|
|
Package attach is the hub's tunnel front door: an http.Handler that accepts a peer's WebSocket upgrade, runs the holt handshake, and registers the resulting tunnel in the registry.
|
Package attach is the hub's tunnel front door: an http.Handler that accepts a peer's WebSocket upgrade, runs the holt handshake, and registers the resulting tunnel in the registry. |
|
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. |
|
postgres
Package postgres is the PostgreSQL flavour of the SQL-backed denylist.
|
Package postgres is the PostgreSQL flavour of the SQL-backed denylist. |
|
sqlite
Package sqlite is the SQLite flavour of the SQL-backed denylist.
|
Package sqlite is the SQLite flavour of the SQL-backed denylist. |
|
Package config loads holt's connection profiles from ~/.holt/config.yaml: how to reach a hub, including one fronted by an authenticating proxy.
|
Package config loads holt's connection profiles from ~/.holt/config.yaml: how to reach a hub, including one fronted by an authenticating proxy. |
|
Package dial is the client half of holt: a persistent attach loop that dials the hub over a WebSocket, serves an http.Handler over the reverse tunnel, and redials with jittered backoff until the context ends or the hub sends a terminal GoAway.
|
Package dial is the client half of holt: a persistent attach loop that dials the hub over a WebSocket, serves an http.Handler over the reverse tunnel, and redials with jittered backoff until the context ends or the hub sends a terminal GoAway. |
|
Package directory defines peer presence: which peer is attached to which hub, since when.
|
Package directory defines peer presence: which peer is attached to which hub, since when. |
|
postgres
Package postgres is the PostgreSQL flavour of the SQL-backed presence directory.
|
Package postgres is the PostgreSQL flavour of the SQL-backed presence directory. |
|
sqldir
Package sqldir is a SQL-backed directory.Directory for SQLite and PostgreSQL, sharing peer presence across a fleet of hubs.
|
Package sqldir is a SQL-backed directory.Directory for SQLite and PostgreSQL, sharing peer presence across a fleet of hubs. |
|
sqlite
Package sqlite is the SQLite flavour of the SQL-backed presence directory.
|
Package sqlite is the SQLite flavour of the SQL-backed presence directory. |
|
Package expose serves an http.Handler through a holt hub with no configuration in the program.
|
Package expose serves an http.Handler through a holt hub with no configuration in the program. |
|
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). |
|
Package peerlog is what the hub remembers about a peer between attaches: that it exists, when it was first seen, when it last attached, and why it last went away.
|
Package peerlog is what the hub remembers about a peer between attaches: that it exists, when it was first seen, when it last attached, and why it last went away. |
|
postgres
Package postgres is the PostgreSQL flavour of the SQL-backed peer log, so a fleet of hubs remembers one set of peers.
|
Package postgres is the PostgreSQL flavour of the SQL-backed peer log, so a fleet of hubs remembers one set of peers. |
|
sqlite
Package sqlite is the SQLite flavour of the SQL-backed peer log.
|
Package sqlite is the SQLite flavour of the SQL-backed peer log. |
|
Package peername validates peer identities.
|
Package peername validates peer identities. |
|
Package registry keeps the hub's live tunnels keyed by peer ID and lets the application dial "through" any attached peer with an ordinary http.RoundTripper.
|
Package registry keeps the hub's live tunnels keyed by peer ID and lets the application dial "through" any attached peer with an ordinary http.RoundTripper. |
|
Package reqlog is the live view of requests crossing a tunnel.
|
Package reqlog is the live view of requests crossing a tunnel. |
|
Package proxy is the hub's data plane: an http.Handler that picks the peer a request targets — by x-tunnel-peer header, or by subdomain of a base domain — and dials it through that peer's tunnel.
|
Package proxy is the hub's data plane: an http.Handler that picks the peer a request targets — by x-tunnel-peer header, or by subdomain of a base domain — and dials it through that peer's tunnel. |
|
Package token is the copy-paste enrollment token: the JWT that authenticates a peer, with the hub's tunnel URL in the audience claim.
|
Package token is the copy-paste enrollment token: the JWT that authenticates a peer, with the hub's tunnel URL in the audience claim. |
|
Package tunneltype names what a peer carries over its tunnel.
|
Package tunneltype names what a peer carries over its tunnel. |
Click to show internal directories.
Click to hide internal directories.