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 (
|
||||
BORADCAST_STATUS = "broadcast/status" // TODO: Remove.
|
||||
BORADCAST_STATUS = "broadcast/status"
|
||||
BORADCAST_CREATE = "broadcast/create" // TODO: Remove.
|
||||
BORADCAST_DESTROY = "broadcast/destroy" // TODO: Remove.
|
||||
)
|
||||
|
@ -17,6 +17,7 @@ type SystemConnect struct {
|
||||
ScreenSize ScreenSize `json:"screen_size"`
|
||||
Members []MemberData `json:"members"`
|
||||
ScreenSizesList *[]ScreenSize `json:"screen_sizes_list,omitempty"`
|
||||
BroadcastStatus BroadcastStatus `json:"members,omitempty"`
|
||||
}
|
||||
|
||||
// TODO: New.
|
||||
@ -114,6 +115,12 @@ type KeyboardLayout struct {
|
||||
Layout string `json:"layout"`
|
||||
}
|
||||
|
||||
type BroadcastStatus struct {
|
||||
Event string `json:"event"`
|
||||
URL string `json:"url"`
|
||||
IsActive bool `json:"is_active"`
|
||||
}
|
||||
|
||||
// TODO: Remove.
|
||||
type Disconnect struct {
|
||||
Event string `json:"event"`
|
||||
@ -202,16 +209,3 @@ type ScreenConfigurations struct {
|
||||
Event string `json:"event"`
|
||||
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