shared

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package shared provides common Redis configuration for all examples. By default it connects to a Redis Cluster on ports 7001-7006. Set REDIS_URL to override with a standalone Redis instance (e.g. "redis://localhost:6381").

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientOptions

func ClientOptions() []client.Option

ClientOptions returns client options configured for the current Redis environment.

func ServerOptions

func ServerOptions() []server.Option

ServerOptions returns server options configured for the current Redis environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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