clipboard sync and some minor fixes

This commit is contained in:
Craig
2020-01-25 14:29:52 +00:00
parent e3a73aa264
commit 56a5dcf77f
22 changed files with 359 additions and 88 deletions

View File

@ -17,6 +17,7 @@ const CONTROL_RELEASE = "control/release"
const CONTROL_REQUEST = "control/request"
const CONTROL_REQUESTING = "control/requesting"
const CONTROL_GIVE = "control/give"
const CONTROL_CLIPBOARD = "control/clipboard"
const CHAT_MESSAGE = "chat/message"
const CHAT_EMOTE = "chat/emote"

View File

@ -42,6 +42,11 @@ type MemberDisconnected struct {
ID string `json:"id"`
}
type Clipboard struct {
Event string `json:"event"`
Text string `json:"text"`
}
type Control struct {
Event string `json:"event"`
ID string `json:"id"`