14 lines
226 B
Go
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}
|
||
|
}
|