redis

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache(cfg *config.Config, opts *cache.Options) (*cache.Cache, error)

NewCache from config. The cache is based on https://github.com/go-redis/cache

func NewOptions added in v1.7.0

func NewOptions(ring *redis.Ring) *cache.Options

NewOptions for redis.

func NewRing added in v1.7.0

func NewRing(lc fx.Lifecycle, cfg *config.Config) *redis.Ring

NewRing for redis.

Types

This section is empty.

Directories

Path Synopsis
metrics

Jump to

Keyboard shortcuts

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