internal/

directory
v0.1.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MIT

Directories

Path Synopsis
api
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.

Jump to

Keyboard shortcuts

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