summaryrefslogtreecommitdiffstats
path: root/lib/apiv1
diff options
context:
space:
mode:
Diffstat (limited to 'lib/apiv1')
-rw-r--r--lib/apiv1/events.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/apiv1/events.go b/lib/apiv1/events.go
index da9a2af..dde2710 100644
--- a/lib/apiv1/events.go
+++ b/lib/apiv1/events.go
@@ -25,6 +25,14 @@ const (
EVTProjectChange = EventTypePrefix + "project-state-change" // data type apiv1.ProjectConfig
)
+// EVTAllList List of all supported events
+var EVTAllList = []string{
+ EVTServerConfig,
+ EVTProjectAdd,
+ EVTProjectDelete,
+ EVTProjectChange,
+}
+
// EventMsg Message send
type EventMsg struct {
Time string `json:"time"`