jobtest

package
v0.0.0-...-b9869ea Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestJobQueue

func TestJobQueue(t *testing.T, newQueue func(string) JobQueue)

Types

type Job

type Job = jobs.Job

type JobArgs

type JobArgs = jobs.JobArgs

type JobMiddleware

type JobMiddleware = jobs.JobMiddleware

type JobQueue

type JobQueue = jobs.JobQueue

type JobWorker

type JobWorker = jobs.JobWorker

type TestWorker

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

func (*TestWorker) Kind

func (t *TestWorker) Kind() string

func (*TestWorker) Run

func (t *TestWorker) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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