X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-agent.git;a=blobdiff_plain;f=lib%2Fxaapiv1%2Fevents.go;fp=lib%2Fapiv1%2Fevents.go;h=12c8cb26183d0768be3e09a8b3f1d1b08b47f3cf;hp=b2fda6254fa0983c4f0c89308487b5994f4bda24;hb=7c7d90a781082c6bd22d12a5e2451ca61a5198af;hpb=b9239d295a7fb7e3f5c595887b3bf77d50c8b216 diff --git a/lib/apiv1/events.go b/lib/xaapiv1/events.go similarity index 90% rename from lib/apiv1/events.go rename to lib/xaapiv1/events.go index b2fda62..12c8cb2 100644 --- a/lib/apiv1/events.go +++ b/lib/xaapiv1/events.go @@ -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