Versions in this module Expand all Collapse all v1 v1.0.3 Apr 13, 2023 v1.0.2 Apr 9, 2023 v1.0.1 Apr 2, 2023 v1.0.0 Sep 27, 2022 Changes in this version + type Cacheable interface + type EvictionPolicy string + const FirstInFirstOut + const LeastFrequentlyUsed + const LeastRecentlyUsed + type Example struct + Float float64 + Int int + String string + func ExampleGenFloat64(n int) []*Example + func (e *Example) MarshalBinary() ([]byte, error) + func (e *Example) UnmarshalBinary(bytes []byte) error + type Stasher interface + Delete func(key interface{}) (err error) + Read func(key interface{}, v Cacheable) (err error) + Write func(key interface{}, value Cacheable) (replaced bool, err error)