taskdelivery

package
v0.0.0-...-834ce46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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.

Directories

Path Synopsis
adapters

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL