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
|
|
|
|
}
|
|
|
|
|
2016-11-28 05:32:04 +00:00
|
|
|
func NewServiceEndEvent(s string) *ServiceEndEvent {
|
2016-11-28 05:22:50 +00:00
|
|
|
return &ServiceEndEvent{ServiceName: s}
|
|
|
|
}
|