Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pushq
command
pushq is a self-hosted HTTP push task-queue server.
|
pushq is a self-hosted HTTP push task-queue server. |
|
internal
|
|
|
api
Package api implements the pushq REST API (see api/openapi.yaml).
|
Package api implements the pushq REST API (see api/openapi.yaml). |
|
api/types
Package types holds the JSON DTOs mirroring api/openapi.yaml.
|
Package types holds the JSON DTOs mirroring api/openapi.yaml. |
|
auth
Package auth implements static bearer API keys with two roles.
|
Package auth implements static bearer API keys with two roles. |
|
config
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. |
|
dispatch
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. |
|
metrics
Package metrics exposes aggregate Prometheus metrics.
|
Package metrics exposes aggregate Prometheus metrics. |
|
store
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. |
|
store/postgres
Package postgres implements store.Store on PostgreSQL via pgx.
|
Package postgres implements store.Store on PostgreSQL via pgx. |
|
store/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. |
|
store/storetest
Package storetest is the conformance suite every store backend must pass.
|
Package storetest is the conformance suite every store backend must pass. |
|
version
Package version holds build metadata injected via -ldflags.
|
Package version holds build metadata injected via -ldflags. |
|
sdks
|
|
|
go
module
|
|
|
Package web embeds the compiled dashboard (a SvelteKit static SPA) into the pushq binary.
|
Package web embeds the compiled dashboard (a SvelteKit static SPA) into the pushq binary. |
Click to show internal directories.
Click to hide internal directories.