为 Golang 打造的缓存库。 它支持可预期的 Cache,LFU,LRU 和 ARC。
支持可预见的 Cache,LFU,LRU 和 ARC。
Goroutine 安全
支持驱逐,清除和添加条目的事件处理程序。 (可选)
如果缓存不存在,则自动加载缓存。 (可选)
An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC — Read More
`单行代码`