internal/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT

Directories

Path Synopsis
Package auth provides the hand-rolled constant-time token compare and the CSPRNG shared-token generator.
Package auth provides the hand-rolled constant-time token compare and the CSPRNG shared-token generator.
Package classify ports the source-IP classifier verbatim from Swift Server.swift (PLAN §3.3, §6.2).
Package classify ports the source-IP classifier verbatim from Swift Server.swift (PLAN §3.3, §6.2).
Package config owns the per-OS file layout (PLAN §4 — the single table every other module defers to), the Config struct, config read/write (with the macOS no-write rule §4.1a), the token-storage interface (§6.4), and the alias store (§4.3/§5.6).
Package config owns the per-OS file layout (PLAN §4 — the single table every other module defers to), the Config struct, config read/write (with the macOS no-write rule §4.1a), the token-storage interface (§6.4), and the alias store (§4.3/§5.6).
Package httpd is the net/http receiver: a single dual-stack http.Server with the full frozen route table (PLAN §3.3), per-route source-class gating, streaming base64-JSON decode straight to disk on /clip, single-flight, the long-poll endpoints, and the byte-identical response writer.
Package httpd is the net/http receiver: a single dual-stack http.Server with the full frozen route table (PLAN §3.3), per-route source-class gating, streaming base64-JSON decode straight to disk on /clip, single-flight, the long-poll endpoints, and the byte-identical response writer.
Package ingest is the keystone: the single save/dispatch path for every transport (PLAN §3.2).
Package ingest is the keystone: the single save/dispatch path for every transport (PLAN §3.2).
Package sanitize is the byte-for-behavior re-implementation of Swift safeDestinationURL (PLAN §3.9): the traversal-proof filename sanitizer, the 200-UTF-8-byte ext-preserving cap, the collision-suffix scheme, and the millisecond UTC timestamp.
Package sanitize is the byte-for-behavior re-implementation of Swift safeDestinationURL (PLAN §3.9): the traversal-proof filename sanitizer, the 200-UTF-8-byte ext-preserving cap, the collision-suffix scheme, and the millisecond UTC timestamp.
Package sshx is the Tier-0 in-process SSH transport (PLAN §5.1, §5.4): a golang.org/x/crypto/ssh client with hand-rolled ~/.ssh/config resolution, knownhosts host-key policy (accept-new TOFU only under setup; never under data verbs), and ssh-agent discovery.
Package sshx is the Tier-0 in-process SSH transport (PLAN §5.1, §5.4): a golang.org/x/crypto/ssh client with hand-rolled ~/.ssh/config resolution, knownhosts host-key policy (accept-new TOFU only under setup; never under data verbs), and ssh-agent discovery.
Package store defines the ReceiveStore boundary and its skeleton implementation: the clipboard channel (disk save / last_path / recents) and the agent channel (in-memory FIFO inbox + long-poll waiters).
Package store defines the ReceiveStore boundary and its skeleton implementation: the clipboard channel (disk save / last_path / recents) and the agent channel (in-memory FIFO inbox + long-poll waiters).
Package tailscale is the Tier-1 discovery layer (PLAN §5.2): it shells `tailscale status --json` via PATH-based binary discovery (NOT the macOS-only Homebrew hardcode the Swift app used) and parses Self/Peer with TOTAL TOLERANCE — returning [] on missing-binary / non-zero exit / empty data / JSON shape drift, every field optional-defaulted, NEVER panicking on drift across Tailscale versions.
Package tailscale is the Tier-1 discovery layer (PLAN §5.2): it shells `tailscale status --json` via PATH-based binary discovery (NOT the macOS-only Homebrew hardcode the Swift app used) and parses Self/Peer with TOTAL TOLERANCE — returning [] on missing-binary / non-zero exit / empty data / JSON shape drift, every field optional-defaulted, NEVER panicking on drift across Tailscale versions.
Package wire defines ClipBeam's FROZEN Envelope v1 over-the-wire JSON shapes plus the byte-ceiling math.
Package wire defines ClipBeam's FROZEN Envelope v1 over-the-wire JSON shapes plus the byte-ceiling math.

Jump to

Keyboard shortcuts

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