From 3ba152252ecf13c0a1bd63b2cad77c0eba501176 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 9 May 2024 23:35:13 +0800 Subject: [PATCH] :sparkles: E2EE Key Exchange --- .idea/workspace.xml | 76 ++++++++++++++++++++-------------- pkg/cmd/main.go | 1 + pkg/models/unified.go | 21 ++++++++++ pkg/server/notify_ws.go | 25 ------------ pkg/server/startup.go | 6 +-- pkg/server/ws.go | 77 +++++++++++++++++++++++++++++++++++ pkg/services/e2ee.go | 77 +++++++++++++++++++++++++++++++++++ pkg/services/notifications.go | 5 ++- 8 files changed, 229 insertions(+), 59 deletions(-) create mode 100644 pkg/models/unified.go delete mode 100644 pkg/server/notify_ws.go create mode 100644 pkg/server/ws.go create mode 100644 pkg/services/e2ee.go diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d783639..58e924a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,10 +4,13 @@