queue

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MPL-2.0 Imports: 9 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Err error  `json:"err"`
	ID  string `json:"id"`
}

type QueueOptions

type QueueOptions struct {
	Name string

	Type string

	Redis *redis.Client

	Factory taskq.Factory

	Storage Storage
}

type Queuer

type Queuer interface {
	io.Closer
	Write(context.Context, convoy.TaskName, *datastore.EventDelivery, time.Duration) error
	Consumer() taskq.QueueConsumer
}

type Storage

type Storage interface {
	Exists(ctx context.Context, key string) bool
}

func NewLocalStorage

func NewLocalStorage() Storage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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