communicate/events/collector.go
2016-11-28 14:13:15 +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}
}