Directories
¶
| Path | Synopsis |
|---|---|
|
Package api implements the pushq REST API (see api/openapi.yaml).
|
Package api implements the pushq REST API (see api/openapi.yaml). |
|
types
Package types holds the JSON DTOs mirroring api/openapi.yaml.
|
Package types holds the JSON DTOs mirroring api/openapi.yaml. |
|
Package auth implements static bearer API keys with two roles.
|
Package auth implements static bearer API keys with two roles. |
|
Package config loads server configuration with precedence flags > env (PUSHQ_*) > YAML file > defaults.
|
Package config loads server configuration with precedence flags > env (PUSHQ_*) > YAML file > defaults. |
|
Package dispatch implements the task dispatcher: an in-memory active-queue scheduler (min-heap + token buckets), budgeted claims against the store, HTTP delivery workers, the lease sweeper, and retention cleanup.
|
Package dispatch implements the task dispatcher: an in-memory active-queue scheduler (min-heap + token buckets), budgeted claims against the store, HTTP delivery workers, the lease sweeper, and retention cleanup. |
|
Package metrics exposes aggregate Prometheus metrics.
|
Package metrics exposes aggregate Prometheus metrics. |
|
Package store defines the persistence contract shared by the SQLite and Postgres backends.
|
Package store defines the persistence contract shared by the SQLite and Postgres backends. |
|
postgres
Package postgres implements store.Store on PostgreSQL via pgx.
|
Package postgres implements store.Store on PostgreSQL via pgx. |
|
sqlite
Package sqlite implements store.Store on SQLite via the pure-Go modernc.org/sqlite driver.
|
Package sqlite implements store.Store on SQLite via the pure-Go modernc.org/sqlite driver. |
|
storetest
Package storetest is the conformance suite every store backend must pass.
|
Package storetest is the conformance suite every store backend must pass. |
|
Package version holds build metadata injected via -ldflags.
|
Package version holds build metadata injected via -ldflags. |
Click to show internal directories.
Click to hide internal directories.