package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
Address sets the address.
Default returns the default cache.
Expiration sets the default expiration.
FetchOrSave retrieves the value for the key if present in the cache.
FromContext returns cache from context.
Initialize initialize the default cache from the addr.
New returns cache from addr.
NewContext returns new context with cache.
Prefix sets the prefix.
Register register cache factory for type.
# Variables
ErrNotFound error returns when the key value not found in the cache.
# Type aliases
Option function to set the options of the cache.