Documentation
¶
Index ¶
Constants ¶
View Source
const (
DurationMinimum time.Duration = 1 * time.Minute
)
Variables ¶
View Source
var ( GlobalCache = make(Cache) CleanTicker *time.Ticker Cancel chan struct{} ErrExpiryTooShort = fmt.Errorf("expiry too short - minimum %v minutes", DurationMinimum.Minutes()) ErrNotInCache = errors.New("not in cache") )
Functions ¶
This section is empty.
Types ¶
type Cache ¶
func (Cache) Invalidate ¶
Click to show internal directories.
Click to hide internal directories.