Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Id uuid.UUID `id` ServiceId string `serviceId` CorrelationId string `correlationId` Timestamp time.Time `timestamp` SendTimestamp time.Time `sendTimestamp` Path string `path` Payload interface{} `payload` }
func (*Event) PrepareForSend ¶
func (evt *Event) PrepareForSend()
Populate extra event fields, such as its id and a creation timestamp
Click to show internal directories.
Click to hide internal directories.