redis

package
Version: v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew added in v0.1.2

func MustNew(src initializr.Resource, key string, defaultProvider Provider) (rc *redis.Client, shutdown func())

func New

func New(src initializr.Resource, key string) (rc *redis.Client, close func(), err error)

Types

type Provider added in v0.1.2

type Provider func() (*redis.Client, func())

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL