queueing

package
v0.0.0-...-41bf266 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QUE_PROCESS_JOB = "ProcessJob"
	ALR_JOB         = "AlrJob"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Enqueuer

type Enqueuer interface {
	AddJob(job models.JobEnqueueArgs, priority int) error
	AddAlrJob(job models.JobAlrEnqueueArgs, priority int) error
}

func NewEnqueuer

func NewEnqueuer() Enqueuer

type MockEnqueuer

type MockEnqueuer struct {
	mock.Mock
}

MockEnqueuer is an autogenerated mock type for the Enqueuer type

func (*MockEnqueuer) AddAlrJob

func (_m *MockEnqueuer) AddAlrJob(job models.JobAlrEnqueueArgs, priority int) error

AddAlrJob provides a mock function with given fields: job, priority

func (*MockEnqueuer) AddJob

func (_m *MockEnqueuer) AddJob(job models.JobEnqueueArgs, priority int) error

AddJob provides a mock function with given fields: job, priority

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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