redis

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	redis.Module,
	fx.Invoke(Run),
)

Module for fx.

View Source
var VerifyFlag = flags.Bool()

VerifyFlag defines wether we should verify the connection or not.

Functions

func Run

func Run(params RunParams)

Run for redis.

Types

type RunParams

type RunParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Logger    *zap.Logger
	Client    redis.Client
}

RunParams for redis.

Jump to

Keyboard shortcuts

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