1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package httpd
type HostMsg struct {
Uuid string `json:"uuid"`
UserID string `json:"userid"`
Secret string `json:"secret"`
Size []int `json:"size"`
}
type ResizeMsg struct {
Height int `json:"rows"`
Width int `json:"cols"`
}
type TokenMsg struct {
Token string `json:"token"`
Secret string `json:"secret"`
Size []int `json:"size"`
}
type DataMsg struct {
Data string `json:"data"`
Room string `json:"room"`
}
type RoomMsg struct {
Room string `json:"room"`
Secret string `json:"secret"`
}
type LogoutMsg struct {
Room string `json:"room"`
}
type DisconnectMsg struct {
}
type EmitSidMsg struct {
Sid string `json:"sid"`
}