communicate/events/event_service.go

14 lines
231 B
Go
Raw Normal View History

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