redis

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *config.RedisOptions) (*redis.Client, error)

New creates a Redis client from config options. Note: the returned client is lazily connected — connection errors will surface on first use. Use RedisComponent.Health() or an explicit Ping for startup verification.

Network timeouts fall through to go-redis library defaults only when the config value is zero; applications that explicitly want unbounded waits must set a negative value (go-redis convention).

Types

This section is empty.

Jump to

Keyboard shortcuts

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