cache

package
v1.33.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Types

type Cache

type Cache = cache.Cache

type Config

type Config struct {
	URL string
}

Config controls the cache backend via a URL (e.g., "memory://", "redis://...").

type Factory

type Factory interface {
	New(name string) (Cache, error)
}

func NewFactory

func NewFactory(config Config) (Factory, error)

Jump to

Keyboard shortcuts

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