consts
This commit is contained in:
parent
b3b5e2df53
commit
d4d98d14a2
11
observer/messages/collector.go
Normal file
11
observer/messages/collector.go
Normal file
|
@ -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"
|
||||
)
|
5
observer/messages/commons.go
Normal file
5
observer/messages/commons.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package messages
|
||||
|
||||
const (
|
||||
API_SERVER_INFO = "API_SERVER_INFO"
|
||||
)
|
3
observer/messages/data_sender.go
Normal file
3
observer/messages/data_sender.go
Normal file
|
@ -0,0 +1,3 @@
|
|||
package messages
|
||||
|
||||
const ()
|
9
observer/messages/poller.go
Normal file
9
observer/messages/poller.go
Normal file
|
@ -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"
|
||||
)
|
Loading…
Reference in New Issue
Block a user