communicate/events/collector.go

14 lines
226 B
Go
Raw Normal View History

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