internal/

directory
v2.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT

Directories

Path Synopsis
Package agent implements the outbound-only WebSocket worker loop connecting EdgeFetch standby nodes (Docker containers, Home Assistant OS add-ons, Raspberry Pis, or bare-metal binaries) to Cloudflare's Hibernating WebSocket Durable Object (AgentHubDO).
Package agent implements the outbound-only WebSocket worker loop connecting EdgeFetch standby nodes (Docker containers, Home Assistant OS add-ons, Raspberry Pis, or bare-metal binaries) to Cloudflare's Hibernating WebSocket Durable Object (AgentHubDO).
Package botauth implements IETF RFC 9421 HTTP Message Signatures (`web-bot-auth`), `draft-meunier-http-message-signatures-directory` self-signed JWKS responses, and RFC 7638 Ed25519 JWK Thumbprints using only the Go standard library (`crypto/ed25519`, `crypto/sha256`, `encoding/base64`).
Package botauth implements IETF RFC 9421 HTTP Message Signatures (`web-bot-auth`), `draft-meunier-http-message-signatures-directory` self-signed JWKS responses, and RFC 7638 Ed25519 JWK Thumbprints using only the Go standard library (`crypto/ed25519`, `crypto/sha256`, `encoding/base64`).
Package browser drives a headless Chromium process over the Chrome DevTools Protocol (CDP) while forcing every subresource TCP socket through an in-process SSRF-guarded loopback CONNECT proxy.
Package browser drives a headless Chromium process over the Chrome DevTools Protocol (CDP) while forcing every subresource TCP socket through an in-process SSRF-guarded loopback CONNECT proxy.
Package classify categorizes HTTP status codes, headers, and payload bytes into deterministic crawl outcomes before upstream HTML/JSON/PDF extractors inspect response bodies.
Package classify categorizes HTTP status codes, headers, and payload bytes into deterministic crawl outcomes before upstream HTML/JSON/PDF extractors inspect response bodies.
Package crawl implements a bounded-concurrency, polite HTTP/2 batch fetcher with `net/http/httptrace` phase telemetry, hop-by-hop redirect validation, conditional GETs, `/llms.txt` companion Markdown discovery, and strict memory/SSRF guardrails.
Package crawl implements a bounded-concurrency, polite HTTP/2 batch fetcher with `net/http/httptrace` phase telemetry, hop-by-hop redirect validation, conditional GETs, `/llms.txt` companion Markdown discovery, and strict memory/SSRF guardrails.
Package extract converts raw HTML and PDF payloads into clean GitHub-Flavored Markdown, plain text, resolved links, images, CSS branding signals, BM25 query-reranked passages, and `llms.txt` structured discovery metadata using only the Go standard library.
Package extract converts raw HTML and PDF payloads into clean GitHub-Flavored Markdown, plain text, resolved links, images, CSS branding signals, BM25 query-reranked passages, and `llms.txt` structured discovery metadata using only the Go standard library.
Package hub implements EdgeFetch's self-hosted Go multi-node WebSocket controller (`--mode=hub` and hybrid mesh `--mode=hub,agent`), allowing one static Go binary to serve as both central fleet coordinator and fallback HTTP/2 + Chromium worker with zero external runtime dependencies beyond `coder/websocket`.
Package hub implements EdgeFetch's self-hosted Go multi-node WebSocket controller (`--mode=hub` and hybrid mesh `--mode=hub,agent`), allowing one static Go binary to serve as both central fleet coordinator and fallback HTTP/2 + Chromium worker with zero external runtime dependencies beyond `coder/websocket`.
Package otel implements W3C Trace Context (`traceparent`) propagation and a non-blocking, zero-dependency OpenTelemetry OTLP/HTTP JSON span exporter (`POST <OTEL_EXPORTER_OTLP_ENDPOINT>/v1/traces`).
Package otel implements W3C Trace Context (`traceparent`) propagation and a non-blocking, zero-dependency OpenTelemetry OTLP/HTTP JSON span exporter (`POST <OTEL_EXPORTER_OTLP_ENDPOINT>/v1/traces`).
Package politeness enforces per-origin serialization, RFC 9110 `Retry-After` cooldowns, three-state dead-origin circuit breaking, zero-allocation RFC 9309 `/robots.txt` matching, and dial-time DNS-rebinding SSRF protection (`net.Dialer.Control`).
Package politeness enforces per-origin serialization, RFC 9110 `Retry-After` cooldowns, three-state dead-origin circuit breaking, zero-allocation RFC 9309 `/robots.txt` matching, and dial-time DNS-rebinding SSRF protection (`net.Dialer.Control`).
Package priv implements irreversible root privilege dropping and pre-drop secret file lockdown on Linux containers.
Package priv implements irreversible root privilege dropping and pre-drop secret file lockdown on Linux containers.
Package ws wraps `github.com/coder/websocket` (EdgeFetch's sole external Go dependency) behind a minimal, hardened outbound WebSocket control-plane client.
Package ws wraps `github.com/coder/websocket` (EdgeFetch's sole external Go dependency) behind a minimal, hardened outbound WebSocket control-plane client.

Jump to

Keyboard shortcuts

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