redis

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MustOpenRedis

func MustOpenRedis(conf config.Config, lf *log.LoggerFactory) *redis.Client

func OnStop

func OnStop(r Redis) error

Types

type Redis

type Redis struct {
	Client *redis.Client
}

func NewRedis

func NewRedis(conf config.Config, lf *log.LoggerFactory) *Redis

func (Redis) HealthCheck

func (r Redis) HealthCheck() error

Jump to

Keyboard shortcuts

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