Expand description
Push notification configuration storage and delivery.
Modules§
- cipher
postgresorsqlite - Sealing push notification configs at rest (spec §13.2: agents SHOULD securely store push notification configurations and credentials).
- config_
store - Push notification configuration storage trait and in-memory implementation.
- outbox
- A durable queue of webhook deliveries (ADR 0037, audit H14).
- postgres_
config_ store postgres PostgreSQL-backedPushConfigStoreimplementation.- sender
- Push notification sender trait and HTTP implementation.
- sqlite_
config_ store sqlite - SQLite-backed
PushConfigStoreimplementation. - tenant_
config_ store - Tenant-scoped push notification config store.
- tenant_
postgres_ config_ store postgres - Tenant-scoped
PostgreSQL-backedPushConfigStoreimplementation. - tenant_
sqlite_ config_ store sqlite - Tenant-scoped SQLite-backed
PushConfigStoreimplementation. - webhook
- The webhook side of push delivery: which headers carry the notification token, how a receiver reads it, and how a webhook URL is named in logs.
Structs§
- Http
Push Sender - HTTP-based
PushSenderusing hyper. - InMemory
Push Config Store - In-memory
PushConfigStorebacked by aHashMap. - InMemory
Push Outbox - An in-memory
PushOutbox. - Postgres
Push Config Store PostgreSQL-backedPushConfigStore.- Postgres
Push Outbox - A
PushOutboxin a PostgreSQL database; see the module documentation. - Push
Retry Policy - Retry policy for push notification delivery.
- Sqlite
Push Config Store - SQLite-backed
PushConfigStore. - Sqlite
Push Outbox - A
PushOutboxin an SQLite database; see the module documentation. - Tenant
Aware InMemory Push Config Store - Tenant-isolated in-memory
PushConfigStore. - Tenant
Aware Postgres Push Config Store - Tenant-scoped
PostgreSQL-backedPushConfigStore. - Tenant
Aware Sqlite Push Config Store - Tenant-scoped SQLite-backed
PushConfigStore.
Traits§
- Push
Config Cipher - Encrypts push notification configs for an SQL store; see the module docs.
- Push
Config Store - Trait for storing push notification configurations.
- Push
Outbox - Where webhook deliveries wait until they are delivered; see the module documentation.
- Push
Sender - Trait for delivering push notifications to client webhooks.
Functions§
- current_
delivery_ id - The delivery id
with_delivery_idset for the delivery being made, if any: what a customPushSendersends asA2A-Delivery-Idto keep the outbox’s guarantee. - with_
delivery_ id - Runs
fwithidas theA2A-Delivery-Idof the deliveries it makes.