updated websocket events with TODO comments.

This commit is contained in:
Miroslav Šedivý 2020-11-30 15:48:19 +01:00
parent f9b62073ef
commit 147aa0e1a3

View File

@ -1,44 +1,64 @@
package event package event
const ( const (
SYSTEM_CONNECT = "system/connect" // TODO: New.
SYSTEM_DISCONNECT = "system/disconnect" SYSTEM_DISCONNECT = "system/disconnect"
) )
const ( const (
SIGNAL_REQUEST = "signal/request" // TODO: New.
SIGNAL_ANSWER = "signal/answer" SIGNAL_ANSWER = "signal/answer"
SIGNAL_PROVIDE = "signal/provide" SIGNAL_PROVIDE = "signal/provide"
) )
const ( const (
MEMBER_LIST = "member/list" MEMBER_LIST = "member/list" // TODO: Remove.
MEMBER_CONNECTED = "member/connected" MEMBER_CONNECTED = "member/connected"
MEMBER_UPDATED = "member/updated" // TODO: New.
MEMBER_DISCONNECTED = "member/disconnected" MEMBER_DISCONNECTED = "member/disconnected"
) )
const ( const (
CONTROL_LOCKED = "control/locked" CONTROL_LOCKED = "control/locked" // TODO: Remove.
CONTROL_REQUESTING = "control/requesting" // TODO: Remove.
CONTROL_GIVE = "control/give" // TODO: Remove.
CONTROL_CLIPBOARD = "control/clipboard" // TODO: Remove.
CONTROL_KEYBOARD = "control/keyboard" // TODO: Remove.
CONTROL_UPDATED = "control/updated" // TODO: New.
CONTROL_RELEASE = "control/release" CONTROL_RELEASE = "control/release"
CONTROL_REQUEST = "control/request" CONTROL_REQUEST = "control/request"
CONTROL_REQUESTING = "control/requesting" CONTROL_MOVE = "control/move" // TODO: New. (fallback)
CONTROL_GIVE = "control/give" CONTROL_SCROLL = "control/scroll" // TODO: New. (fallback)
CONTROL_CLIPBOARD = "control/clipboard" CONTROL_KEYDOWN = "control/keydown" // TODO: New. (fallback)
CONTROL_KEYBOARD = "control/keyboard" CONTROL_KEYUP = "control/keyup" // TODO: New. (fallback)
) )
const ( const (
SCREEN_CONFIGURATIONS = "screen/configurations" SCREEN_CONFIGURATIONS = "screen/configurations" // TODO: Remove.
SCREEN_RESOLUTION = "screen/resolution" SCREEN_RESOLUTION = "screen/resolution" // TODO: Remove.
SCREEN_UPDATED = "screen/updated" // TODO: New.
SCREEN_SET = "screen/set" SCREEN_SET = "screen/set"
) )
const ( const (
BORADCAST_STATUS = "broadcast/status" CLIPBOARD_UPDATED = "clipboard/updated" // TODO: New.
BORADCAST_CREATE = "broadcast/create" CLIPBOARD_SET = "clipboard/set" // TODO: New.
BORADCAST_DESTROY = "broadcast/destroy"
) )
const ( const (
ADMIN_CONTROL = "admin/control" KEYBOARD_MODIFIERS = "keyboard/modifiers" // TODO: New.
ADMIN_RELEASE = "admin/release" KEYBOARD_LAYOUT = "keyboard/layout" // TODO: New.
ADMIN_GIVE = "admin/give" )
const (
BORADCAST_STATUS = "broadcast/status" // TODO: Remove.
BORADCAST_CREATE = "broadcast/create" // TODO: Remove.
BORADCAST_DESTROY = "broadcast/destroy" // TODO: Remove.
)
const (
ADMIN_CONTROL = "admin/control" // TODO: Remove.
ADMIN_RELEASE = "admin/release" // TODO: Remove.
ADMIN_GIVE = "admin/give" // TODO: Remove.
) )