cache

package
v1.288.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func IsEnabled added in v1.176.0

func IsEnabled(cfg *Config) bool

IsEnabled for cache.

Types

type Config

type Config struct {
	Redis     *redis.Config     `yaml:"redis,omitempty" json:"redis,omitempty" toml:"redis,omitempty"`
	Ristretto *ristretto.Config `yaml:"ristretto,omitempty" json:"ristretto,omitempty" toml:"ristretto,omitempty"`
}

Config for cache.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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