communicate/events/event_service.go

14 lines
237 B
Go
Raw Normal View History

2016-11-28 05:15:31 +00:00
package events
2016-11-28 05:22:50 +00:00
type ServiceEndEvent struct {
ServiceName string
}
func (i ServiceEndEvent) GetUrl() string {
return SERVICE_END
}
func NewServiceEndEvent(s string) *CollectorInstallEvent {
return &ServiceEndEvent{ServiceName: s}
}