redis

package
v0.0.0-...-1c6c14e Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"redis",
	fx.Decorate(func(log *zap.Logger) *zap.Logger {
		return log.Named("redis")
	}),
	fx.Provide(New),
)

Functions

func New

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

Types

type Config

type Config struct {
	URL string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳