Working end to end with in-memory data store.

This commit is contained in:
Mariano Uvalle 2023-11-09 07:34:00 +00:00
parent 320dc46010
commit 426500df45
7 changed files with 313 additions and 27 deletions

View file

@ -11,7 +11,7 @@ type Device struct {
}
type Clipboard struct {
SenderDeviceID string
// Payloads maps DeviceIDs to base64 encoded data.
Payloads map[string]string
SenderPublicKey []byte
// Payloads maps DeviceIDs to encrypted data.
Payloads map[string][]byte
}