driver

package
v2.232.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("cache: driver not found")

ErrNotFound for driver.

Functions

This section is empty.

Types

type Driver

type Driver = cachego.Cache

Driver is a alias of cachego.

func NewDriver added in v2.73.0

func NewDriver(fs *os.FS, cfg *cache.Config) (Driver, error)

NewDriver creates a new cache driver with different backends.

Jump to

Keyboard shortcuts

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