driver

package
v2.69.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	// ErrExpired is an alias of cachego.ErrCacheExpired.
	ErrExpired = cachego.ErrCacheExpired
)

Functions

This section is empty.

Types

type Driver

type Driver = cachego.Cache

Driver is a alias of cachego.

func New

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

New 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