communicate/events/event_collector.go

14 lines
262 B
Go
Raw Normal View History

2016-11-28 05:13:15 +00:00
package events
2016-11-28 05:20:54 +00:00
type CollectorInstallEvent struct {
2016-11-28 05:13:15 +00:00
Message string
}
2016-11-28 05:20:54 +00:00
func (i CollectorInstallEvent) GetUrl() string {
2016-11-28 05:13:15 +00:00
return COLLECTOR_INSTALL
}
2016-11-28 05:20:54 +00:00
func NewInstallEvent(message string) *CollectorInstallEvent {
return &CollectorInstallEvent{Message: message}
2016-11-28 05:13:15 +00:00
}