Renamed apiv1 lib to xaapiv1.
[src/xds/xds-agent.git] / lib / xaapiv1 / events.go
similarity index 90%
rename from lib/apiv1/events.go
rename to lib/xaapiv1/events.go
index b2fda62..12c8cb2 100644 (file)
@@ -1,4 +1,4 @@
-package apiv1
+package xaapiv1
 
 import (
        "encoding/json"
@@ -24,10 +24,10 @@ const (
 
        // Supported Events type
        EVTAll           = EventTypePrefix + "all"
-       EVTServerConfig  = EventTypePrefix + "server-config"        // type EventMsg with Data type apiv1.ServerCfg
-       EVTProjectAdd    = EventTypePrefix + "project-add"          // type EventMsg with Data type apiv1.ProjectConfig
-       EVTProjectDelete = EventTypePrefix + "project-delete"       // type EventMsg with Data type apiv1.ProjectConfig
-       EVTProjectChange = EventTypePrefix + "project-state-change" // type EventMsg with Data type apiv1.ProjectConfig
+       EVTServerConfig  = EventTypePrefix + "server-config"        // type EventMsg with Data type xaapiv1.ServerCfg
+       EVTProjectAdd    = EventTypePrefix + "project-add"          // type EventMsg with Data type xaapiv1.ProjectConfig
+       EVTProjectDelete = EventTypePrefix + "project-delete"       // type EventMsg with Data type xaapiv1.ProjectConfig
+       EVTProjectChange = EventTypePrefix + "project-state-change" // type EventMsg with Data type xaapiv1.ProjectConfig
 )
 
 // EVTAllList List of all supported events