redisimpl

package
v0.0.0-...-8506920 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil

func IsNil(err error) bool

Types

type Client

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

func NewClient

func NewClient(ctx context.Context, ip string, ttl time.Duration) Client

func (Client) Dequeue

func (c Client) Dequeue(key string) ([]byte, error)

Dequeue implements queue.QueueProvider.

func (Client) Enqueue

func (c Client) Enqueue(key string, data []byte) error

Enqueue implements queue.QueueProvider.

func (Client) IsEmptyErr

func (c Client) IsEmptyErr(err error) bool

IsEmptyErr implements queue.QueueProvider.

Jump to

Keyboard shortcuts

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