Implement event on gateway

This commit is contained in:
2026-07-04 16:19:43 +02:00
parent 54d1169888
commit 909c502a63
4 changed files with 434 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
use serde::Serialize;
#[derive(Serialize)]
pub struct GatewayEvent<T: Serialize> {
pub namespace: &'static str,
pub action: &'static str,
pub content: T,
}