requeue

package
v1.8.0-fossa.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

type Ctx struct {
	// contains filtered or unexported fields
}

Ctx implements Faktory's `manager.Context`. Duplicated from https://github.com/contribsys/faktory/blob/v1.8.0/manager/middleware.go#L24-L40

func (Ctx) Job

func (c Ctx) Job() *client.Job

func (Ctx) Manager

func (c Ctx) Manager() manager.Manager

func (Ctx) Reservation

func (c Ctx) Reservation() *manager.Reservation

type RequeueSubsystem

type RequeueSubsystem struct{}

RequeueSubsystem allows a client to indicate that it is not able to complete the job and that it should be retried.

func (*RequeueSubsystem) Name

func (r *RequeueSubsystem) Name() string

Name returns the name of the plugin.

func (*RequeueSubsystem) Reload

func (r *RequeueSubsystem) Reload(s *server.Server) error

Reload does not do anything.

func (*RequeueSubsystem) Start

func (r *RequeueSubsystem) Start(s *server.Server) error

Start loads the plugin.

Jump to

Keyboard shortcuts

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