redis

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisQueue

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

func NewQueue

func NewQueue(client *redis.Client, key string) *RedisQueue

func (*RedisQueue) Close

func (q *RedisQueue) Close() error

func (*RedisQueue) Dequeue

func (q *RedisQueue) Dequeue(ctx context.Context, timeout time.Duration) (*queue.Event, error)

func (*RedisQueue) Enqueue

func (q *RedisQueue) Enqueue(ctx context.Context, event queue.Event) error

func (*RedisQueue) Size

func (q *RedisQueue) Size(ctx context.Context) (int64, error)

Jump to

Keyboard shortcuts

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