redis

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string) (redis.UniversalClient, bool)

Get returns a redis client by its ID.

func Initialize

func Initialize(ctx context.Context, options []config.RedisOptions) error

Initialize creates and pings redis clients based on the provided options.

func Set added in v0.4.0

func Set(id string, client redis.UniversalClient)

Set adds a redis client to the global client pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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