From c1e4ecfd5dde69bff7c408e67fc6a87eacf8d12b Mon Sep 17 00:00:00 2001 From: jackdaw Date: Mon, 28 Nov 2016 14:46:39 +0900 Subject: [PATCH] . --- events/event.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 {