Check permissions when performing websocket actions

This commit is contained in:
Dane Everitt
2020-04-06 21:03:39 -07:00
parent 3edcd5f9c3
commit 45d441ac32
4 changed files with 40 additions and 20 deletions

View File

@@ -7,11 +7,12 @@ import (
// Defines all of the possible output events for a server.
// noinspection GoNameStartsWithPackageName
const (
DaemonMessageEvent = "daemon message"
InstallOutputEvent = "install output"
ConsoleOutputEvent = "console output"
StatusEvent = "status"
StatsEvent = "stats"
DaemonMessageEvent = "daemon message"
InstallOutputEvent = "install output"
ConsoleOutputEvent = "console output"
StatusEvent = "status"
StatsEvent = "stats"
BackupCompletedEvent = "backup completed"
)
type Event struct {