redis

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client = redis.Client

Client wraps redis.Client.

func MustNew

func MustNew(config *env.Config, logger *log.Logger) *Client

MustNew ensures that a new Client is created and panics if not.

func New

func New(config *env.Config) (*Client, error)

New returns a new instance of redis.Client.

Jump to

Keyboard shortcuts

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