Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
tnl
command
Command tnl is the client entry point for tnl.
|
Command tnl is the client entry point for tnl. |
|
tnlbench
command
Command tnlbench measures a tnl server from local publishers and visitors.
|
Command tnlbench measures a tnl server from local publishers and visitors. |
|
tnld
command
Command tnld runs the tnl server daemon.
|
Command tnld runs the tnl server daemon. |
|
internal
|
|
|
authorityapi
Package authorityapi serves the built-in authority HTTP API.
|
Package authorityapi serves the built-in authority HTTP API. |
|
authorityclient
Package authorityclient calls the authority API.
|
Package authorityclient calls the authority API. |
|
authorization
Package authorization authorizes control operations and builds stable request hashes.
|
Package authorization authorizes control operations and builds stable request hashes. |
|
benchworkload
Package benchworkload contains the publisher and visitor workloads shared by local runtime tests and deployed benchmarks.
|
Package benchworkload contains the publisher and visitor workloads shared by local runtime tests and deployed benchmarks. |
|
certificates
Package certificates uses ACME to issue public URL and relay transport certificates.
|
Package certificates uses ACME to issue public URL and relay transport certificates. |
|
clientauth
Package clientauth handles CLI login and coordinates control-session refresh.
|
Package clientauth handles CLI login and coordinates control-session refresh. |
|
clientstate
Package clientstate stores local client data and tunnel snapshots.
|
Package clientstate stores local client data and tunnel snapshots. |
|
clioutput
Package clioutput renders stable human-readable CLI diagrams.
|
Package clioutput renders stable human-readable CLI diagrams. |
|
config
Package config defines the versioned YAML and JSON configuration format.
|
Package config defines the versioned YAML and JSON configuration format. |
|
config/cmd/configgen
command
|
|
|
controlapi
Package controlapi serves the control API and authorizes public URL operations.
|
Package controlapi serves the control API and authorizes public URL operations. |
|
controlclient
Package controlclient calls the tnl control API.
|
Package controlclient calls the tnl control API. |
|
controlstate
Package controlstate stores persistent control state in PostgreSQL and changes that state in transactions.
|
Package controlstate stores persistent control state in PostgreSQL and changes that state in transactions. |
|
controltls
Package controltls configures automatic public TLS for the control API.
|
Package controltls configures automatic public TLS for the control API. |
|
credentials
Package credentials creates and validates typed credentials.
|
Package credentials creates and validates typed credentials. |
|
diagnostic
Code generated by scripts/generate-diagnostic-codes.ts.
|
Code generated by scripts/generate-diagnostic-codes.ts. |
|
dnscontroller
Package dnscontroller applies persistent DNS changes requested by control.
|
Package dnscontroller applies persistent DNS changes requested by control. |
|
filelock
Package filelock acquires user-owned, mode-0600 regular lock files on Unix.
|
Package filelock acquires user-owned, mode-0600 regular lock files on Unix. |
|
httpclient
Package httpclient contains shared HTTP client policy for internal clients.
|
Package httpclient contains shared HTTP client policy for internal clients. |
|
httpjson
Package httpjson reads and writes size-limited JSON.
|
Package httpjson reads and writes size-limited JSON. |
|
ingress
Package ingress routes TLS connections by exact SNI hostname without terminating their TLS.
|
Package ingress routes TLS connections by exact SNI hostname without terminating their TLS. |
|
ingressapi
Package ingressapi serves control's private API for ingress processes.
|
Package ingressapi serves control's private API for ingress processes. |
|
localproxy
Package localproxy forwards one public hostname to one local HTTP target.
|
Package localproxy forwards one public hostname to one local HTTP target. |
|
muxsession
Package muxsession carries multiplexed byte streams over supported transports.
|
Package muxsession carries multiplexed byte streams over supported transports. |
|
naming
Package naming defines public-hostname rules used by control and ingress.
|
Package naming defines public-hostname rules used by control and ingress. |
|
observability
Package observability provides process and service metrics without depending on one metrics provider.
|
Package observability provides process and service metrics without depending on one metrics provider. |
|
oidcauth
Package oidcauth implements OIDC authentication and CLI login flows.
|
Package oidcauth implements OIDC authentication and CLI login flows. |
|
opaqueid
Package opaqueid creates and validates prefixed, cryptographically random identifiers.
|
Package opaqueid creates and validates prefixed, cryptographically random identifiers. |
|
problemtype
Package problemtype defines canonical API problem type URIs.
|
Package problemtype defines canonical API problem type URIs. |
|
projectconfig
Package projectconfig finds, loads, and validates project configuration.
|
Package projectconfig finds, loads, and validates project configuration. |
|
projectmeta
Package projectmeta validates and writes browser-safe project metadata.
|
Package projectmeta validates and writes browser-safe project metadata. |
|
proxyproto
Package proxyproto implements tnl's strict PROXY protocol v2 boundary.
|
Package proxyproto implements tnl's strict PROXY protocol v2 boundary. |
|
publicurlusage
Package publicurlusage defines public URL usage data that can be combined across reports.
|
Package publicurlusage defines public URL usage data that can be combined across reports. |
|
publicurlusageworker
Package publicurlusageworker finishes and sends stored public URL usage reports.
|
Package publicurlusageworker finishes and sends stored public URL usage reports. |
|
publisher
Package publisher publishes one local service through a public URL.
|
Package publisher publishes one local service through a public URL. |
|
relayapi
Package relayapi serves control's private API for relay processes.
|
Package relayapi serves control's private API for relay processes. |
|
routebackend
Package routebackend defines how ingress opens a visitor stream to a publisher.
|
Package routebackend defines how ingress opens a visitor stream to a publisher. |
|
router
Package router reads a size-limited TLS ClientHello and preserves every byte so the connection can replay it.
|
Package router reads a size-limited TLS ClientHello and preserves every byte so the connection can replay it. |
|
serviceapi
Package serviceapi provides HTTP helpers for the private service APIs.
|
Package serviceapi provides HTTP helpers for the private service APIs. |
|
sqlite
Package sqlite manages client SQLite connections and migrations.
|
Package sqlite manages client SQLite connections and migrations. |
|
storagekey
Package storagekey encrypts recoverable secrets stored by control.
|
Package storagekey encrypts recoverable secrets stored by control. |
|
streamcopy
Package streamcopy copies bytes in both directions and preserves half-closes.
|
Package streamcopy copies bytes in both directions and preserves half-closes. |
|
tlschallenge
Package tlschallenge manages publisher-local TLS challenge keys and certificates.
|
Package tlschallenge manages publisher-local TLS challenge keys and certificates. |
|
tnldconfig
Package tnldconfig loads and validates tnld process configuration.
|
Package tnldconfig loads and validates tnld process configuration. |
|
tunnel
Package tunnel runs tunnelv1 sessions over supported transports.
|
Package tunnel runs tunnelv1 sessions over supported transports. |
|
workerloop
Package workerloop schedules bounded background-work iterations.
|
Package workerloop schedules bounded background-work iterations. |
|
pkg
|
|
|
api/authorityv1
Package authorityv1 provides primitives to interact with the openapi HTTP API.
|
Package authorityv1 provides primitives to interact with the openapi HTTP API. |
|
api/controlv1
Package controlv1 provides primitives to interact with the openapi HTTP API.
|
Package controlv1 provides primitives to interact with the openapi HTTP API. |
|
api/ingressv1
Package ingressv1 provides primitives to interact with the openapi HTTP API.
|
Package ingressv1 provides primitives to interact with the openapi HTTP API. |
|
api/publicurlusagev1
Package publicurlusagev1 provides primitives to interact with the openapi HTTP API.
|
Package publicurlusagev1 provides primitives to interact with the openapi HTTP API. |
|
api/relayv1
Package relayv1 provides primitives to interact with the openapi HTTP API.
|
Package relayv1 provides primitives to interact with the openapi HTTP API. |
|
protocol/tunnelv1
Package tunnelv1 defines messages for publisher connections and visitor streams.
|
Package tunnelv1 defines messages for publisher connections and visitor streams. |
Click to show internal directories.
Click to hide internal directories.