cache

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func Use

func Use(opts ...UseOption) runtime.Capability

Types

type Cache

type Cache = corecache.Cache

type Config

type Config = corecache.Config

type ConfigLoader

type ConfigLoader func(app *runtime.App) (Config, error)

type UseOption

type UseOption func(*useOptions)

func WithCache

func WithCache(c Cache) UseOption

func WithConfig

func WithConfig(cfg Config) UseOption

func WithConfigLoader

func WithConfigLoader(loader ConfigLoader) UseOption

func WithDependencies

func WithDependencies(deps ...runtime.Dependency) UseOption

func WithExternal added in v0.1.4

func WithExternal() UseOption

func WithInternal

func WithInternal() UseOption

Jump to

Keyboard shortcuts

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