cache

package
v1.251.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 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