Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Mapper = make(map[entity.DestinationType]DeliveryHandler)
Functions ¶
func Register ¶
func Register(destinationType entity.DestinationType, dh DeliveryHandler)
Register registers a new delivery handler for a destination type.
Types ¶
type DeliveryHandler ¶
type DeliveryHandler interface {
Handle(task taskentity.Task) (param.DeliveryTaskResponse, error)
}
DeliveryHandler is responsible for delivering processed event to third party destinations.
Click to show internal directories.
Click to hide internal directories.