communicate/events/event_service.go

14 lines
231 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
}
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}
}