host url add

This commit is contained in:
geek 2016-11-28 14:43:50 +09:00
parent 62249143f0
commit 9fc9f9dea7

View File

@ -6,12 +6,16 @@ const (
) )
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" HOST_START = "http://localhost:8080/_api/collector/discovery/event/host/status/start"
PORT_FOUND = "/_api/collector/event/port/status/found" HOST_FOUND = "http://localhost:8080/_api/collector/discovery/event/host/status/found"
PORT_END = "/_api/collector/event/port/status/end" HOST_END = "http://localhost:8080/_api/collector/discovery/event/host/status/end"
SERVICE_END = "/_api/collector/event/service/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 { type URLMaker interface {