Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Envelope ¶ added in v0.1.24
type Envelope struct { EventProtocol string `json:"eventProtocol"` EventSchema *string `json:"eventSchema"` Source string `json:"source"` Tstamp time.Time `json:"tstamp"` Ip string `json:"ip"` IsValid *bool `json:"isValid"` IsRelayed *bool `json:"isRelayed"` ValidationError *ValidationError `json:"validationErrors"` Payload Event `json:"payload"` }
type PayloadValidationError ¶ added in v0.1.24
type SelfDescribingContext ¶
type SelfDescribingContext SelfDescribingPayload
type SelfDescribingEvent ¶ added in v0.1.24
type SelfDescribingEvent struct { Contexts []SelfDescribingContext `json:"contexts"` Payload SelfDescribingPayload `json:"payload"` }
type SelfDescribingPayload ¶
type ValidationError ¶ added in v0.1.24
type ValidationError struct { ErrorType *string `json:"errorType"` ErrorResolution *string `json:"errorResolution"` Errors []PayloadValidationError `json:"payloadValidationErrors"` }
Click to show internal directories.
Click to hide internal directories.