Documentation ¶
Index ¶
- Variables
- func CreateTask(name convoy.TaskName, group convoy.Group, handler interface{}) *taskq.Task
- func CreateTasks(groupRepo convoy.GroupRepository, handler interface{}) error
- func ProcessDeadLetters(job *queue.Job)
- func ProcessEventDelivery(appRepo convoy.ApplicationRepository, ...) func(*queue.Job) error
- type EndpointError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDeliveryAttemptFailed = errors.New("Error sending event")
Functions ¶
func CreateTask ¶
func CreateTasks ¶
func CreateTasks(groupRepo convoy.GroupRepository, handler interface{}) error
func ProcessDeadLetters ¶
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
Click to show internal directories.
Click to hide internal directories.