subjectdelete

package
v0.0.0-...-5554e34 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

func IsTimeout

func IsTimeout(err error) bool

Types

type Handler

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

func NewHandler

func NewHandler(c HandlerConfig) (*Handler, error)

func (*Handler) Ensure

func (h *Handler) Ensure(tsk *task.Task) error

func (*Handler) Filter

func (h *Handler) Filter(tsk *task.Task) bool

type HandlerConfig

type HandlerConfig struct {
	Logger logger.Interface
	Redigo redigo.Interface
	Rescue rescue.Interface

	Timeout time.Duration
}

Jump to

Keyboard shortcuts

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