Working end to end with in-memory data store.
This commit is contained in:
parent
320dc46010
commit
426500df45
7 changed files with 313 additions and 27 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue