const added

This commit is contained in:
insanity@loafle.com 2017-05-11 16:33:40 +09:00
parent 687a307b87
commit ca29549750
3 changed files with 16 additions and 7 deletions

View File

@ -1,7 +1,10 @@
package messages package messages
const ( const (
COLLECTED = "COLLECTED" CLT_READY = "COLLECTOR_READY"
COLLECTOR_STOPPED = "COLLECTOR_STOPPED" CLT_STOPPED = "COLLECTOR_STOPPED"
REMOVE_SENSOR_2_END = "REMOVE_SENSOR_2_END" CLT_SENSOR_REMOVE_DONE = "COLLECTOR_SENSOR_REMOVE_DONE"
CLT_SENSOR_UPDATE_DONE = "COLLECTOR_SENSOR_UPDATE_DONE"
CLT_CRM_UPDATE_DONE = "COLLECTOR_CRAWLER_UPDATE_DONE"
CLT_DATA_SEND = "DATA_SEND"
) )

View File

@ -1,5 +1,5 @@
package messages package messages
const ( const (
DATA_SENDER_STOPPED = "DATA_SENDER_STOPPED" DATA_SEND = "DATA_SEND"
) )

View File

@ -1,7 +1,13 @@
package messages package messages
const ( const (
POLLER_STOPPED = "POLLER_STOPPED" TASK_SENSOR_START = "TASK_SENSOR_START"
ADD_SENSOR_0 = "ADD_SENSOR_0" TASK_SENSOR_STOP = "TASK_SENSOR_STOP"
REMOVE_SENSOR_0 = "REMOVE_SENSOR_0" TASK_SENSOR_ADD = "TASK_SENSOR_ADD"
TASK_SENSOR_REMOVE = "TASK_SENSOR_REMOVE"
TASK_SENSOR_UPDATE = "TASK_SENSOR_UPDATE"
TASK_CRAWLER_UPDATE = "TASK_CRAWLER_UPDATE"
TASK_AGENT_UPDATE = "TASK_AGENT_UPDATE"
TASK_POLLER_INTERVAL_UPDATE = "TASK_POLLER_INTERVAL_UPDATE"
TASK_LOG_SEND = "TASK_LOG_SEND"
) )