go-cache icon indicating copy to clipboard operation
go-cache copied to clipboard

Allow querying of expiration, cleanup durations

Open mcandre opened this issue 6 years ago • 0 comments

Some business caching logic depends on the exact values used for expiration and cleanup of the cache. Rather than store these twice, what if the cache provided read-only methods for obtaining these values?

mcandre avatar May 31 '19 14:05 mcandre