diff --git a/events/event.go b/events/event.go index 89b2b1f..ffaba56 100644 --- a/events/event.go +++ b/events/event.go @@ -6,16 +6,16 @@ const ( ) const ( - COLLECTOR_INSTALL = "http://localhost:8080/_api/collector/discovery/event/status/install" + COLLECTOR_INSTALL = "/_api/collector/discovery/event/status/install" - HOST_START = "http://localhost:8080/_api/collector/discovery/event/host/status/start" - HOST_FOUND = "http://localhost:8080/_api/collector/discovery/event/host/status/found" - HOST_END = "http://localhost:8080/_api/collector/discovery/event/host/status/end" + HOST_START = "/_api/collector/discovery/event/host/status/start" + HOST_FOUND = "/_api/collector/discovery/event/host/status/found" + HOST_END = "/_api/collector/discovery/event/host/status/end" - PORT_START = "http://localhost:8080/_api/collector/discovery/event/port/status/start" - PORT_FOUND = "http://localhost:8080/_api/collector/discovery/event/port/status/found" - PORT_END = "http://localhost:8080/_api/collector/discovery/event/port/status/end" - SERVICE_END = "http://localhost:8080/_api/collector/discovery/event/service/status/end" + PORT_START = "/_api/collector/discovery/event/port/status/start" + PORT_FOUND = "/_api/collector/discovery/event/port/status/found" + PORT_END = "/_api/collector/discovery/event/port/status/end" + SERVICE_END = "/_api/collector/discovery/event/service/status/end" ) type URLMaker interface {