mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
15 lines
196 B
Go
15 lines
196 B
Go
package entity
|
|
|
|
type EventData struct {
|
|
Event string
|
|
Data interface{}
|
|
}
|
|
|
|
func (d *EventData) GetEvent() string {
|
|
return d.Event
|
|
}
|
|
|
|
func (d *EventData) GetData() interface{} {
|
|
return d.Data
|
|
}
|