wasynq

package
v0.0.0-...-2e0c1f2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Installer

func Installer(a winter.App, opts ...Option) wext.Installer

Types

type Interface

type Interface interface {
	Enqueue(task *asynq.Task, opts ...asynq.Option) (*asynq.TaskInfo, error)
}

func Client

func Client(ctx context.Context, altKeys ...string) Interface

type Option

type Option = func(opts *options)

func WithRedisOpt

func WithRedisOpt(o *asynq.RedisConnOpt) Option

func WithRedisURL

func WithRedisURL(s string) Option

Jump to

Keyboard shortcuts

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