redis

package
v0.0.0-...-6a6c3f4 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(options *redis.Options, initCallback func(*redis.Client) error) (rdb *redis.Client, err error)

func Del

func Del(rdb *redis.Client, key string) (val int64, err error)

func Get

func Get(rdb *redis.Client, key string) (val string, err error)

func NewConnOptionsFromFlags

func NewConnOptionsFromFlags() *redis.Options

func Set

func Set(rdb *redis.Client, key, value string) (val string, err error)

func Subscribe

func Subscribe(rdb *redis.Client, channels ...string) (ch <-chan *redis.Message, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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