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.
Click to show internal directories.
Click to hide internal directories.