communicate/events/event_collector.go
2016-11-28 14:18:39 +09:00

14 lines
226 B
Go

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