communicate/events/event_collector.go
jackdaw 162392f60b .
2016-11-28 14:20:54 +09:00

14 lines
262 B
Go

package events
type CollectorInstallEvent struct {
Message string
}
func (i CollectorInstallEvent) GetUrl() string {
return COLLECTOR_INSTALL
}
func NewInstallEvent(message string) *CollectorInstallEvent {
return &CollectorInstallEvent{Message: message}
}