add event const

This commit is contained in:
snoop 2017-05-11 16:46:11 +09:00
parent 075204a18a
commit 21c8e45308
2 changed files with 17 additions and 9 deletions

View File

@ -1,7 +1,15 @@
package messages package messages
const ( const (
CONFIGMANAGER_LOADED = "CONFIGMANAGER_LOADED" //CONFIGMANAGER_LOADED = "CONFIGMANAGER_LOADED"
ADD_SENSOR_1 = "ADD_SENSOR_1" //ADD_SENSOR_1 = "ADD_SENSOR_1"
REMOVE_SENSOR_1 = "REMOVE_SENSOR_1" //REMOVE_SENSOR_1 = "REMOVE_SENSOR_1"
CFG_LOADED = "CONFIG_LOADED"
SCF_READY = "SENSOR_CONFIG_READY"
SCF_STOPPED = "SENSOR_CONFIG_STOPPED"
SCF_SENSOR_ADD_DONE = "SENSOR_CONFIG_SENSOR_ADD_DONE"
SCF_SENSOR_UPDATE_DONE = "SENSOR_CONFIG_SENSOR_UPDATE_DONE"
) )

View File

@ -2,11 +2,11 @@ package messages
const ( const (
CRAWLER_READY = "CRAWLER_READY" CRM_READY = "CRAWLER_READY"
CRAWLER_STOPPED = "CRAWLER_STOPPED" CRM_STOPPED = "CRAWLER_STOPPED"
CRAWLER_SENSOR_ADD_DONE = "CRAWLER_SENSOR_ADD_DONE" CRM_SENSOR_ADD_DONE = "CRAWLER_SENSOR_ADD_DONE"
CRAWLER_SENSOR_REMOVE_DONE = "CRAWLER_SENSOR_REMOVE_DONE" CRM_SENSOR_REMOVE_DONE = "CRAWLER_SENSOR_REMOVE_DONE"
CRAWLER_SENSOR_UPDATE_DONE = "CRAWLER_SENSOR_UPDATE_DONE" CRM_SENSOR_UPDATE_DONE = "CRAWLER_SENSOR_UPDATE_DONE"
CRAWLER_UPDATE_DONE = "CRAWLER_UPDATE_DONE" CRM_UPDATE_DONE = "CRAWLER_UPDATE_DONE"
) )