|
|
|
|
@ -27,7 +27,7 @@ type OutboundEvent interface {
@@ -27,7 +27,7 @@ type OutboundEvent interface {
|
|
|
|
|
|
|
|
|
|
// Event is any kind of event. A type is required to be specified.
|
|
|
|
|
type Event struct { |
|
|
|
|
Type EventType `json:"type"` |
|
|
|
|
Type EventType `json:"type,omitempty"` |
|
|
|
|
Id string `json:"id"` |
|
|
|
|
Timestamp time.Time `json:"timestamp"` |
|
|
|
|
} |
|
|
|
|
|