remove admin from websockets.

This commit is contained in:
Miroslav Šedivý
2020-11-30 17:31:29 +01:00
parent 994a91886d
commit 0a75950356
4 changed files with 0 additions and 115 deletions

View File

@ -54,9 +54,3 @@ const (
const (
BORADCAST_STATUS = "broadcast/status"
)
const (
ADMIN_CONTROL = "admin/control" // TODO: Remove.
ADMIN_RELEASE = "admin/release" // TODO: Remove.
ADMIN_GIVE = "admin/give" // TODO: Remove.
)

View File

@ -182,19 +182,6 @@ type ControlTarget struct {
Target string `json:"target"`
}
// TODO: Remove.
type Admin struct {
Event string `json:"event"`
ID string `json:"id"`
}
// TODO: Remove.
type AdminTarget struct {
Event string `json:"event"`
Target string `json:"target"`
ID string `json:"id"`
}
// TODO: Remove.
type ScreenResolution struct {
Event string `json:"event"`