task

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: MPL-2.0 Imports: 16 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDeliveryAttemptFailed = errors.New("Error sending event")

Functions

func CreateTask

func CreateTask(name convoy.TaskName, group convoy.Group, handler interface{}) *taskq.Task

func CreateTasks

func CreateTasks(groupRepo convoy.GroupRepository, handler interface{}) error

func ProcessDeadLetters

func ProcessDeadLetters(job *queue.Job)

func ProcessEventDelivery

func ProcessEventDelivery(appRepo convoy.ApplicationRepository, eventDeliveryRepo convoy.EventDeliveryRepository, groupRepo convoy.GroupRepository) func(*queue.Job) error

Types

type EndpointError

type EndpointError struct {
	Err error
	// contains filtered or unexported fields
}

func (*EndpointError) Delay

func (e *EndpointError) Delay() time.Duration

func (*EndpointError) Error

func (e *EndpointError) Error() string

Jump to

Keyboard shortcuts

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