mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
revert broadcast status.
This commit is contained in:
parent
8f9671689f
commit
def6248ca7
@ -52,7 +52,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
BORADCAST_STATUS = "broadcast/status" // TODO: Remove.
|
BORADCAST_STATUS = "broadcast/status"
|
||||||
BORADCAST_CREATE = "broadcast/create" // TODO: Remove.
|
BORADCAST_CREATE = "broadcast/create" // TODO: Remove.
|
||||||
BORADCAST_DESTROY = "broadcast/destroy" // TODO: Remove.
|
BORADCAST_DESTROY = "broadcast/destroy" // TODO: Remove.
|
||||||
)
|
)
|
||||||
|
@ -12,11 +12,12 @@ type Message struct {
|
|||||||
// System
|
// System
|
||||||
// TODO: New.
|
// TODO: New.
|
||||||
type SystemConnect struct {
|
type SystemConnect struct {
|
||||||
Event string `json:"event,omitempty"`
|
Event string `json:"event,omitempty"`
|
||||||
ControlHost ControlHost `json:"control_host"`
|
ControlHost ControlHost `json:"control_host"`
|
||||||
ScreenSize ScreenSize `json:"screen_size"`
|
ScreenSize ScreenSize `json:"screen_size"`
|
||||||
Members []MemberData `json:"members"`
|
Members []MemberData `json:"members"`
|
||||||
ScreenSizesList *[]ScreenSize `json:"screen_sizes_list,omitempty"`
|
ScreenSizesList *[]ScreenSize `json:"screen_sizes_list,omitempty"`
|
||||||
|
BroadcastStatus BroadcastStatus `json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: New.
|
// TODO: New.
|
||||||
@ -114,6 +115,12 @@ type KeyboardLayout struct {
|
|||||||
Layout string `json:"layout"`
|
Layout string `json:"layout"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type BroadcastStatus struct {
|
||||||
|
Event string `json:"event"`
|
||||||
|
URL string `json:"url"`
|
||||||
|
IsActive bool `json:"is_active"`
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Remove.
|
// TODO: Remove.
|
||||||
type Disconnect struct {
|
type Disconnect struct {
|
||||||
Event string `json:"event"`
|
Event string `json:"event"`
|
||||||
@ -202,16 +209,3 @@ type ScreenConfigurations struct {
|
|||||||
Event string `json:"event"`
|
Event string `json:"event"`
|
||||||
Configurations map[int]types.ScreenConfiguration `json:"configurations"`
|
Configurations map[int]types.ScreenConfiguration `json:"configurations"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove.
|
|
||||||
type BroadcastStatus struct {
|
|
||||||
Event string `json:"event"`
|
|
||||||
URL string `json:"url"`
|
|
||||||
IsActive bool `json:"isActive"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: Remove.
|
|
||||||
type BroadcastCreate struct {
|
|
||||||
Event string `json:"event"`
|
|
||||||
URL string `json:"url"`
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user