package
0.0.0-20220301182912-6c7a55c5708c
Repository: https://github.com/yields/ant.git
Documentation: pkg.go.dev
# Functions
Aggressive returns an aggressive cache with age.
Compress makes the diskstore compress and uncompress all cached items.
Debug sets the debug logging func.
Maxage sets the maxage to age.
Maxsize sets the maxsize to size.
New returns a new cache with the given options.
Open opens a new disk storage.
SweepEvery sweeps the files every d.
WithStorage sets the storage to s.
# Type aliases
DebugFunc represents a debug func.
DiskOption represents a disk option.
Option represents a cache option.