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 ¶
This section is empty.
Types ¶
type AppDeliverer ¶
type AppDeliverer struct {
// contains filtered or unexported fields
}
AppDeliverer handles the processing of a delivery.
func New ¶
func New( ma action.MessageActioner, ta action.TemplateActioner, tka action.TemplateKindActioner, mka action.MessageKindActioner, dka action.DeliveryKindActioner, ) *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(delivery *resource.Delivery) (string, 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 resulting delivery. nolint:funlen // This method is straightforward and should be easy to read.
Click to show internal directories.
Click to hide internal directories.