rdqredigo

package
v0.0.0-...-b4e5eed Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRDQ

func NewRDQ(opts *rdq.RDQOptions, redis redis.Conn) *rdq.RedisDelayedQueue

func NewRDQPool

func NewRDQPool(opts *rdq.RDQOptions, redisPool *redis.Pool) *rdq.RedisDelayedQueue

Types

type Redis

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

func (*Redis) BZPOPMIN

func (r *Redis) BZPOPMIN(ctx context.Context, key string, timeout time.Duration) (float64, []byte, error)

func (*Redis) ZADD

func (r *Redis) ZADD(ctx context.Context, key string, score float64, memeber []byte) error

type RedisPool

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

func (*RedisPool) BZPOPMIN

func (rp *RedisPool) BZPOPMIN(ctx context.Context, key string, timeout time.Duration) (float64, []byte, error)

func (*RedisPool) ZADD

func (rp *RedisPool) ZADD(ctx context.Context, key string, score float64, memeber []byte) error

Jump to

Keyboard shortcuts

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