Help us shape the future of Go! Take the 2026 Go Developer Survey

redis

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 6 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