jobtest

package
v0.43.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package jobtest supplies one adapter contract for memory and Redis authorities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, makeFixture func(*testing.T) Fixture)

Types

type Fixture

type Fixture struct {
	Advance func(time.Duration)
	Backend jobs.Backend
	Key     jobs.Key
	Expire  func(jobs.Reservation)
}

type Payload

type Payload struct {
	Exact uint64 `json:"exact"`
	Text  string `json:"text"`
}

Jump to

Keyboard shortcuts

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