redis

package
v1.0.1-0...-6e7567d Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCacher

func NewCacher(ctx context.Context, pool *redis.Pool) (n nds.Cacher, err error)

NewCacher will return a nds.Cacher backed by the provided redis pool. It will try and load a script into the redis script cache and return an error if it is unable to. Anytime the redis script cache is flushed, a new redis nds.Cacher must be initialized to reload the script.

Types

This section is empty.

Jump to

Keyboard shortcuts

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