handle

package
v0.0.0-...-ea8ee0a Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler contains all it needs to handle jobs.

func NewHandler

func NewHandler(db *pgxpool.Pool, src *source.Store, lg *slog.Logger, jbt time.Duration, lt heavy.Lifter, msg message.Messenger) *Handler

NewHandler returns a new *Handler.

func (*Handler) Handle

func (h *Handler) Handle() error

Handle is the main process for handling all jobs.

Directories

Path Synopsis
Package heavy provides a means to carry out time-consuming, error-prone jobs
Package heavy provides a means to carry out time-consuming, error-prone jobs
Package message provides a means to send a message for observable reporting
Package message provides a means to send a message for observable reporting

Jump to

Keyboard shortcuts

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