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