feat(push): relay notifications as encrypted web push (#2906)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-23 14:04:55 +02:00
1 parent 7021a58090
commit 18c303abf6
111 files changed
+12473 -1177

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
pub mod cli;
pub mod config;
mod crypto;
mod dedupe;
mod delivery;
pub mod healthcheck;
mod job;
mod metrics;
mod payload;
mod providers;
mod relay;
mod resolver;
mod retry;
mod rollout;
mod rpc;
mod secret;
pub mod server;
mod subscription;
mod tokens;
mod vendor;
pub use server::run;
fn unix_seconds() -> i64 {
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.map_or(0, |since| since.as_secs() as i64)
}