Update runtime.Event struct

This commit is contained in:
Ben Toogood
2020-05-19 10:14:07 +01:00
parent 14155c7e02
commit c19b349e96
3 changed files with 12 additions and 10 deletions

View File

@@ -86,14 +86,16 @@ func (t EventType) String() string {
// Event is notification event
type Event struct {
// ID of the event
ID string
// Type is event type
Type EventType
// Timestamp is event timestamp
Timestamp time.Time
// Service is the name of the service
Service string
// Version of the build
Version string
// Service the event relates to
Service *Service
// Options to use when processing the event
Options *CreateOptions
}
// Service is runtime service