Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordEventDeliveryStatus ¶
func RecordEventDeliveryStatus(destinationID string, deliveryStatus *DeliveryStatusT) bool
RecordEventDeliveryStatus is used to put the delivery status in the deliveryStatusesBatchChannel, which will be processed by handleJobs.
Types ¶
type DeliveryStatusT ¶
type DeliveryStatusT struct { DestinationID string `json:"destinationId"` SourceID string `json:"sourceId"` Payload json.RawMessage `json:"payload"` AttemptNum int `json:"attemptNum"` JobState string `json:"jobState"` ErrorCode string `json:"errorCode"` ErrorResponse json.RawMessage `json:"errorResponse"` }
DeliveryStatusT is a structure to hold everything related to event delivery
Click to show internal directories.
Click to hide internal directories.