Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found in cache")
)
Errors
Functions ¶
This section is empty.
Types ¶
type Auto ¶
type Auto struct {
Tracer *tracing.Tracer
Provider Provider
Loader LoaderFunc
// contains filtered or unexported fields
}
Auto is a cache that automatically attempts to load objects if they don't exist
type LoaderFunc ¶
LoaderFunc is a function for loading data into a cache
Click to show internal directories.
Click to hide internal directories.