ccclip/pkg/api/api.go

18 lines
262 B
Go
Raw Normal View History

package api
type User struct {
ID string
2023-11-10 07:48:11 +00:00
PasswordHash []byte
}
type Device struct {
ID string
PublicKey []byte
}
type Clipboard struct {
SenderPublicKey []byte
// Payloads maps DeviceIDs to encrypted data.
Payloads map[string][]byte
}