cache

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RedisModule for fx.
	RedisModule = fx.Options(fx.Provide(redis.NewRing), fx.Provide(redis.NewOptions), fx.Provide(redis.NewCache))

	// RistrettoModule for fx.
	RistrettoModule = fx.Options(fx.Provide(ristretto.NewCache))
)

Functions

This section is empty.

Types

type Config added in v1.27.0

type Config struct {
	Redis     redis.Config     `yaml:"redis"`
	Ristretto ristretto.Config `yaml:"ristretto"`
}

Config for cache.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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