diff --git a/observer/messages/collector.go b/observer/messages/collector.go new file mode 100644 index 0000000..ec43be6 --- /dev/null +++ b/observer/messages/collector.go @@ -0,0 +1,11 @@ +package messages + +const ( + COLLECTOR_STARTED = "COLLECTOR_STARTED" + COLLECTED = "COLLECTED" + COLLECTOR_STOPPED = "COLLECTOR_STOPPED" + + ADD_SENSOR = "ADD_SENSOR" + UPDATE_SENSOR = "UPDATE_SENSOR" + REMOVE_SENSOR = "REMOVE_SENSOR" +) diff --git a/observer/messages/commons.go b/observer/messages/commons.go new file mode 100644 index 0000000..6ba4799 --- /dev/null +++ b/observer/messages/commons.go @@ -0,0 +1,5 @@ +package messages + +const ( + API_SERVER_INFO = "API_SERVER_INFO" +) diff --git a/observer/messages/data_sender.go b/observer/messages/data_sender.go new file mode 100644 index 0000000..468c045 --- /dev/null +++ b/observer/messages/data_sender.go @@ -0,0 +1,3 @@ +package messages + +const () diff --git a/observer/messages/poller.go b/observer/messages/poller.go new file mode 100644 index 0000000..27041da --- /dev/null +++ b/observer/messages/poller.go @@ -0,0 +1,9 @@ +package messages + +const ( + POLLER_STARTED = "POLLER_STARTED" + NEW_CONF_FOUND = "NEW_CONF_FOUND" + POLLER_STOPPED = "POLLER_STOPPED" + + UPDATE_POLLING_INTERVAL = "UPDATE_POLLING_INTERVAL" +)