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.
Click to show internal directories.
Click to hide internal directories.