redis

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Nil = goredis.Nil

Nil is returned by Redis operations when a key/member does not exist.

Functions

func RegisterHook

func RegisterHook(factory func(opt *Options) Hook)

RegisterHook registers a hook factory that will be attached to every client created via NewClient.

Types

type Client

type Client = goredis.Client

Client is Nimbus's Redis client type.

func NewClient

func NewClient(opt *Options) *Client

NewClient creates a Redis client.

type Hook

type Hook = goredis.Hook

Hook lets callers observe Redis commands (via go-redis hooks).

type Options

type Options = goredis.Options

Options configures Redis client initialization.

func ParseURL

func ParseURL(url string) (*Options, error)

ParseURL parses a redis:// URL into client options.

type PubSub

type PubSub = goredis.PubSub

PubSub is a Redis Pub/Sub subscription handle.

type Z

type Z = goredis.Z

Z is a sorted-set member payload.

type ZRangeBy

type ZRangeBy = goredis.ZRangeBy

ZRangeBy represents score range bounds for sorted-set queries.

Jump to

Keyboard shortcuts

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