redis

package
v0.0.0-...-3dd2ea2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

func New

func New(c Config) (*redis.Client, error)

Types

type Config

type Config struct {
	// URL is a redis:// or rediss:// connection string, e.g. redis://localhost:6379/0
	URL string
}

Config holds Redis connection settings.

Jump to

Keyboard shortcuts

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