driver

package
v0.0.0-...-4c8772c Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(config *configs.Configs) *logrus.Logger

Types

type RedisClient

type RedisClient interface {
	Del(key string) error
	Set(key string, value interface{}, expDur time.Duration) error
	Get(key string) (string, error)
}

func NewRedis

func NewRedis(redisClient redis.Cmdable) RedisClient

func Redis

func Redis(config *configs.Configs) RedisClient

Jump to

Keyboard shortcuts

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