From 9fc9f9dea74ad95ae4103d319dacadcc96b6db41 Mon Sep 17 00:00:00 2001 From: geek Date: Mon, 28 Nov 2016 14:43:50 +0900 Subject: [PATCH] host url add --- events/event.go | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/events/event.go b/events/event.go index 9a05bf3..89b2b1f 100644 --- a/events/event.go +++ b/events/event.go @@ -6,12 +6,16 @@ const ( ) const ( - COLLECTOR_INSTALL = "/_api/collector/event/status/install" + COLLECTOR_INSTALL = "http://localhost:8080/_api/collector/discovery/event/status/install" - PORT_START = "/_api/collector/event/port/status/start" - PORT_FOUND = "/_api/collector/event/port/status/found" - PORT_END = "/_api/collector/event/port/status/end" - SERVICE_END = "/_api/collector/event/service/status/end" + 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" + + 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" ) type URLMaker interface {