cache

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RedisRingModule for fx.
	RedisRingModule = fx.Provide(redis.NewRing)

	// RedisOptionsModule for fx.
	RedisOptionsModule = fx.Provide(redis.NewOptions)

	// RedisCacheModule for fx.
	RedisCacheModule = fx.Provide(redis.NewCache)

	// RedisModule for fx.
	RedisModule = fx.Options(RedisRingModule, RedisOptionsModule, RedisCacheModule)

	// RistrettoConfigModule for fx.
	RistrettoConfigModule = fx.Provide(ristretto.NewConfig)

	// RistrettoCacheModule for fx.
	RistrettoCacheModule = fx.Provide(ristretto.NewCache)

	// RistrettoModule for fx.
	RistrettoModule = fx.Options(RistrettoConfigModule, RistrettoCacheModule)

	// Module for fx.
	Module = fx.Options(RedisModule, RistrettoModule)
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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