Documentation
¶
Overview ¶
Package driver provides cache driver constructors for go-service.
Index ¶
Constants ¶
View Source
const ErrExpired = cachego.ErrCacheExpired
ErrExpired is an alias for cachego.ErrCacheExpired.
Variables ¶
View Source
var ErrNotFound = errors.New("cache: driver not found")
ErrNotFound is returned when the configured cache driver is unknown.
Functions ¶
func IsExpiredError ¶ added in v2.243.0
IsExpiredError reports whether err represents an expired cache entry.
Types ¶
Click to show internal directories.
Click to hide internal directories.