Directories
¶
| Path | Synopsis |
|---|---|
|
Package crypto provides AES-GCM-256 encryption primitives and master-key helpers for Relay's stored-secret subsystem.
|
Package crypto provides AES-GCM-256 encryption primitives and master-key helpers for Relay's stored-secret subsystem. |
|
Package filter is a declarative, allowlist-based query engine for list endpoints.
|
Package filter is a declarative, allowlist-based query engine for list endpoints. |
|
Package ids generates immutable resource identifiers.
|
Package ids generates immutable resource identifiers. |
|
Package lifecycle is the in-process hook registry every request-runner (pipeline, proxy, future ws/batch) fires events into.
|
Package lifecycle is the in-process hook registry every request-runner (pipeline, proxy, future ws/batch) fires events into. |
|
Package metrics owns the Prometheus registry and the /metrics HTTP handler.
|
Package metrics owns the Prometheus registry and the /metrics HTTP handler. |
|
Package payload is the storage contract for request/response body capture: the Record shape and the Sink/Reader interfaces its backends satisfy.
|
Package payload is the storage contract for request/response body capture: the Record shape and the Sink/Reader interfaces its backends satisfy. |
|
clickhouse
Package clickhouse provides a ClickHouse-backed implementation of payload.Sink, payload.Reader, and payload.Closer — the Langfuse-style "text bodies in ClickHouse" backend for the Logs view.
|
Package clickhouse provides a ClickHouse-backed implementation of payload.Sink, payload.Reader, and payload.Closer — the Langfuse-style "text bodies in ClickHouse" backend for the Logs view. |
|
file
Package file is the JSONL file backend for payload logging: one Record per line.
|
Package file is the JSONL file backend for payload logging: one Record per line. |
|
s3
Package s3 is the object-store backend for payload logging: one JSON object per Record.
|
Package s3 is the object-store backend for payload logging: one JSON object per Record. |
|
Package ratelimit implements a sliding-window-counter rate limiter with a two-phase Reserve/Commit API.
|
Package ratelimit implements a sliding-window-counter rate limiter with a two-phase Reserve/Commit API. |
|
Package secret is the relay's unified secret-resolution layer: a backend-agnostic Ref pointing at a credential, and a Resolver that turns it into plaintext.
|
Package secret is the relay's unified secret-resolution layer: a backend-agnostic Ref pointing at a credential, and a Resolver that turns it into plaintext. |
|
aws
Package aws resolves secret.KindAWS refs by fetching from AWS Secrets Manager.
|
Package aws resolves secret.KindAWS refs by fetching from AWS Secrets Manager. |
|
azure
Package azure resolves secret.KindAzure refs by fetching from Azure Key Vault.
|
Package azure resolves secret.KindAzure refs by fetching from Azure Key Vault. |
|
bitwarden
Package bitwarden resolves KindBitwarden secrets by fetching encrypted vault data from Vaultwarden/Bitwarden and decrypting client-side.
|
Package bitwarden resolves KindBitwarden secrets by fetching encrypted vault data from Vaultwarden/Bitwarden and decrypting client-side. |
|
gcp
Package gcp resolves secret.KindGCP refs by fetching from GCP Secret Manager.
|
Package gcp resolves secret.KindGCP refs by fetching from GCP Secret Manager. |
|
onepassword
Package onepassword resolves secret.KindOnePassword refs via the official 1Password Go SDK and a service-account token.
|
Package onepassword resolves secret.KindOnePassword refs via the official 1Password Go SDK and a service-account token. |
|
Package slug derives DNS-1123-compatible identifiers from free-text display names, with deterministic collision suffixes.
|
Package slug derives DNS-1123-compatible identifiers from free-text display names, with deterministic collision suffixes. |
|
clickhouse
Package clickhouse provides a ClickHouse-backed implementation of usage.Sink, usage.Reader, and usage.Closer.
|
Package clickhouse provides a ClickHouse-backed implementation of usage.Sink, usage.Reader, and usage.Closer. |
|
file
Package file is the JSONL file backend for usage logging: a Sink that appends one event per line and a Reader that scans the same file.
|
Package file is the JSONL file backend for usage logging: a Sink that appends one event per line and a Reader that scans the same file. |
|
postgres
Package postgres implements usage.Sink, usage.Reader, and usage.Closer backed by PostgreSQL.
|
Package postgres implements usage.Sink, usage.Reader, and usage.Closer backed by PostgreSQL. |
|
valkey
Package valkey is a TTL-bounded usage Sink + Reader backed by pkg/kv.
|
Package valkey is a TTL-bounded usage Sink + Reader backed by pkg/kv. |
Click to show internal directories.
Click to hide internal directories.