redis

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(opts Options) (thing.CacheClient, func(), error)

NewClient creates a new Redis cache client wrapper. Changed name to NewClient and made it exported.

Types

type Options

type Options struct {
	Addr     string
	Password string
	DB       int
}

Options holds configuration for the Redis client.

Jump to

Keyboard shortcuts

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