redis

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MPL-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTaskNotFound  = fmt.Errorf("asynq: %w", asynq.ErrTaskNotFound)
	ErrQueueNotFound = fmt.Errorf("asynq: %w", asynq.ErrQueueNotFound)
)

Functions

func NewQueue

func NewQueue(opts queue.QueueOptions) queue.Queuer

Types

type Formatter added in v1.1.6

type Formatter struct {
}

func (Formatter) FormatPayload added in v1.1.6

func (f Formatter) FormatPayload(_ string, payload []byte) string

func (Formatter) FormatResult added in v1.1.6

func (f Formatter) FormatResult(_ string, payload []byte) string

type RedisQueue

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

func (*RedisQueue) DeleteEventDeliveriesFromQueue added in v1.1.6

func (q *RedisQueue) DeleteEventDeliveriesFromQueue(queueName convoy.QueueName, ids []string) error

func (*RedisQueue) Inspector added in v0.6.0

func (q *RedisQueue) Inspector() *asynq.Inspector

func (*RedisQueue) Monitor added in v0.6.0

func (q *RedisQueue) Monitor() *asynqmon.HTTPHandler

func (*RedisQueue) Options added in v0.6.0

func (q *RedisQueue) Options() queue.QueueOptions

func (*RedisQueue) Write

func (q *RedisQueue) Write(taskName convoy.TaskName, queueName convoy.QueueName, job *queue.Job) error

Jump to

Keyboard shortcuts

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