This commit is contained in:
jackdaw 2016-11-28 14:22:50 +09:00
parent 162392f60b
commit a7a2d60954
2 changed files with 13 additions and 0 deletions

View File

@ -7,6 +7,7 @@ const (
const (
COLLECTOR_INSTALL = "http://localhost:8080/_api/collector/event/status/install"
SERVICE_END = "http://localhost:8080/_api/collector/event/service/status/end"
)
type URLMaker interface {

View File

@ -1 +1,13 @@
package events
type ServiceEndEvent struct {
ServiceName string
}
func (i ServiceEndEvent) GetUrl() string {
return SERVICE_END
}
func NewServiceEndEvent(s string) *CollectorInstallEvent {
return &ServiceEndEvent{ServiceName: s}
}