redis

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MPL-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(cfg config.Configuration) (*redis.Client, taskq.Factory, error)

func NewQueue

func NewQueue(c *redis.Client, factory taskq.Factory, name string) queue.Queuer

Types

type RedisQueue

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

func (*RedisQueue) Close

func (q *RedisQueue) Close() error

func (*RedisQueue) Consumer

func (q *RedisQueue) Consumer() taskq.QueueConsumer

func (*RedisQueue) Write

Jump to

Keyboard shortcuts

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