Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDisabledDeliveryKind defines an error caused by a disabled delivery kind. ErrDisabledDeliveryKind = errors.New("disabled delivery kind") // ErrDisabledMessageKind defines an error caused by a disabled message kind. ErrDisabledMessageKind = errors.New("disabled message kind") )
Functions ¶
func DeliveryHandler ¶ added in v0.0.3
DeliveryHandler defines a handler for incoming delivery requests.
Types ¶
type AppDeliverer ¶
type AppDeliverer struct {
// contains filtered or unexported fields
}
func New ¶
func New( da action.DeliveryActioner, ma action.MessageActioner, ta action.TemplateActioner, tka action.TemplateKindActioner, mka action.MessageKindActioner, dka action.DeliveryKindActioner, clk clock.Clocker, ) *AppDeliverer
New creates a Deliverer that can perform the delivery of a message by calling a Requester service.
func (*AppDeliverer) Deliver ¶
func (deliverer *AppDeliverer) Deliver(deliveryID uuid.UUID) error
Deliver delivers the delivery with the specified delivery ID. In order to do so, it calls the Requester service configured for the delivery. It returns the requester's input and output. nolint:funlen // This method is straightforward and should be easy to read.
Click to show internal directories.
Click to hide internal directories.