Directories
¶
| Path | Synopsis |
|---|---|
|
Package api exposes the gateway over HTTP: the public ingest endpoint, the admin JSON API, and a thin server-rendered dashboard.
|
Package api exposes the gateway over HTTP: the public ingest endpoint, the admin JSON API, and a thin server-rendered dashboard. |
|
Package app wires the gateway's components and runs the HTTP server and delivery worker until the context is cancelled.
|
Package app wires the gateway's components and runs the HTTP server and delivery worker until the context is cancelled. |
|
Package config loads gateway configuration from environment variables.
|
Package config loads gateway configuration from environment variables. |
|
Package core holds the domain types shared across the gateway modules.
|
Package core holds the domain types shared across the gateway modules. |
|
Package crypto seals provider signing secrets at rest with AES-256-GCM.
|
Package crypto seals provider signing secrets at rest with AES-256-GCM. |
|
Package delivery performs a single HTTP delivery to a destination and classifies the result.
|
Package delivery performs a single HTTP delivery to a destination and classifies the result. |
|
Package dispatch turns matched destinations into queued deliveries.
|
Package dispatch turns matched destinations into queued deliveries. |
|
Package filter evaluates a destination's routing filter against an event.
|
Package filter evaluates a destination's routing filter against an event. |
|
Package id generates short, sortable, prefixed identifiers.
|
Package id generates short, sortable, prefixed identifiers. |
|
Package ingest captures inbound webhooks: it verifies signatures, persists the raw request durably, and queues delivery.
|
Package ingest captures inbound webhooks: it verifies signatures, persists the raw request durably, and queues delivery. |
|
Package metrics exposes Prometheus counters and histograms for ingest and delivery, plus an HTTP handler that serves them.
|
Package metrics exposes Prometheus counters and histograms for ingest and delivery, plus an HTTP handler that serves them. |
|
Package migrate applies the embedded dbmate migrations to a database on startup, so the gateway stays a single self-contained binary.
|
Package migrate applies the embedded dbmate migrations to a database on startup, so the gateway stays a single self-contained binary. |
|
Package pruner periodically deletes captured events past their retention window so the store does not grow without bound.
|
Package pruner periodically deletes captured events past their retention window so the store does not grow without bound. |
|
Package ratelimit provides a per-key token-bucket limiter, used to cap the ingest rate per source so one provider cannot overwhelm the gateway.
|
Package ratelimit provides a per-key token-bucket limiter, used to cap the ingest rate per source so one provider cannot overwhelm the gateway. |
|
Package retry computes the deterministic backoff schedule for redeliveries and decides when a delivery has exhausted its budget.
|
Package retry computes the deterministic backoff schedule for redeliveries and decides when a delivery has exhausted its budget. |
|
Package routing resolves a captured event to the destinations that should receive it.
|
Package routing resolves a captured event to the destinations that should receive it. |
|
Package signature verifies provider webhook signatures.
|
Package signature verifies provider webhook signatures. |
|
Package source manages registered inbound sources and their signing secrets.
|
Package source manages registered inbound sources and their signing secrets. |
|
Package storage defines the persistence seam for the gateway and its errors.
|
Package storage defines the persistence seam for the gateway and its errors. |
|
postgres
Package postgres implements storage.Store on top of PostgreSQL via the pgx stdlib driver.
|
Package postgres implements storage.Store on top of PostgreSQL via the pgx stdlib driver. |
|
sqlite
Package sqlite implements storage.Store on top of SQLite using the pure-Go modernc driver, so the gateway needs no cgo and ships as one binary.
|
Package sqlite implements storage.Store on top of SQLite using the pure-Go modernc driver, so the gateway needs no cgo and ships as one binary. |
|
Package worker drains the pending-delivery queue: it claims due deliveries, performs them through the delivery engine, records each attempt, and either reschedules with backoff or dead-letters on exhaustion.
|
Package worker drains the pending-delivery queue: it claims due deliveries, performs them through the delivery engine, records each attempt, and either reschedules with backoff or dead-letters on exhaustion. |
Click to show internal directories.
Click to hide internal directories.