worker

package
v0.0.0-...-92ca402 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Han are the worker specific handlers implementing the actual business
	// logic.
	Han []workerhandler.Interface
	Log logger.Interface
	// Res is the rescue engine used to participate in the distributed task queue.
	Res rescue.Interface
}

type Worker

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

func New

func New(c Config) *Worker

func (*Worker) Daemon

func (w *Worker) Daemon()

Jump to

Keyboard shortcuts

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