Versions in this module Expand all Collapse all v0 v0.8.1 Oct 9, 2023 v0.8.0 Jun 30, 2023 Changes in this version + type LRU struct + func New(capacity int64) *LRU + func (l *LRU) Available() int64 + func (l *LRU) Capacity() int64 + func (l *LRU) Flush() + func (l *LRU) Get(key any, preloading bool) (value []byte, size int64, ok bool) + func (l *LRU) Set(key any, value []byte, size int64, preloading bool) + func (l *LRU) Used() int64