internal/

directory
v0.5.2 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package cloudflare is a small client for the parts of the Cloudflare v4 REST API that `flue relay setup` needs: verifying a user's API token, listing the accounts it can reach, and deploying the relay Worker — script, Durable Object, static assets and all — into the account they choose.
Package cloudflare is a small client for the parts of the Cloudflare v4 REST API that `flue relay setup` needs: verifying a user's API token, listing the accounts it can reach, and deploying the relay Worker — script, Durable Object, static assets and all — into the account they choose.
Package config locates and manages flue's on-disk configuration, including the loopback authentication token.
Package config locates and manages flue's on-disk configuration, including the loopback authentication token.
Package crypto owns flue's Noise IK handshake, the secure channel framing, and the key material on the daemon side.
Package crypto owns flue's Noise IK handshake, the secure channel framing, and the key material on the daemon side.
Package daemon wires sessions, the wire protocol, and a transport into an HTTP server.
Package daemon wires sessions, the wire protocol, and a transport into an HTTP server.
Package fleet is the fleet key and the certificates it signs (spec/fleet-trust.md): one Ed25519 keypair per relay, held by every machine and never by the Worker, whose signatures are what let a device paired on one machine be trusted by every other.
Package fleet is the fleet key and the certificates it signs (spec/fleet-trust.md): one Ed25519 keypair per relay, held by every machine and never by the Worker, whose signatures are what let a device paired on one machine be trusted by every other.
Package relaydeploy is the one implementation of "put flue's relay into a Cloudflare account": the Worker module, the web bundle, the Durable Object migration, the secret, the workers.dev host.
Package relaydeploy is the one implementation of "put flue's relay into a Cloudflare account": the Worker module, the web bundle, the Durable Object migration, the secret, the workers.dev host.
Package relaywire defines the framing that crosses the daemon↔relay socket.
Package relaywire defines the framing that crosses the daemon↔relay socket.
Package service installs and removes the flue login service: a launchd agent on darwin, a systemd user unit on linux.
Package service installs and removes the flue login service: a launchd agent on darwin, a systemd user unit on linux.
transport
local
Package local implements the loopback transport: a listener bound to 127.0.0.1 and authenticated by a token file, an Origin allowlist, and a Host check.
Package local implements the loopback transport: a listener bound to 127.0.0.1 and authenticated by a token file, an Origin allowlist, and a Host check.
relay
Package relay is the daemon's leg of the Cloudflare relay: one outbound WebSocket to a Worker, and every browser that reaches this machine multiplexed over it.
Package relay is the daemon's leg of the Cloudflare relay: one outbound WebSocket to a Worker, and every browser that reaches this machine multiplexed over it.

Jump to

Keyboard shortcuts

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