aboutsummaryrefslogtreecommitdiffstats
path: root/lib/apiv1
diff options
context:
space:
mode:
Diffstat (limited to 'lib/apiv1')
-rw-r--r--lib/apiv1/events.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/apiv1/events.go b/lib/apiv1/events.go
index 8bad394..da9a2af 100644
--- a/lib/apiv1/events.go
+++ b/lib/apiv1/events.go
@@ -18,11 +18,11 @@ const (
EventTypePrefix = "event:" // following by event type
// Supported Events type
- EVTAll = "all"
- EVTServerConfig = "server-config" // data type apiv1.ServerCfg
- EVTProjectAdd = "project-add" // data type apiv1.ProjectConfig
- EVTProjectDelete = "project-delete" // data type apiv1.ProjectConfig
- EVTProjectChange = "project-state-change" // data type apiv1.ProjectConfig
+ EVTAll = EventTypePrefix + "all"
+ EVTServerConfig = EventTypePrefix + "server-config" // data type apiv1.ServerCfg
+ EVTProjectAdd = EventTypePrefix + "project-add" // data type apiv1.ProjectConfig
+ EVTProjectDelete = EventTypePrefix + "project-delete" // data type apiv1.ProjectConfig
+ EVTProjectChange = EventTypePrefix + "project-state-change" // data type apiv1.ProjectConfig
)
// EventMsg Message send