Versions in this module Expand all Collapse all v1 v1.0.48 May 8, 2018 v1.0.44 Feb 21, 2018 Changes in this version + const IntSize + const MB + const PtrSize + func StaticSizeOfMap(zeroValueKey, zeroValueValue interface{}, count int) (bytes int) + func StaticSizeOfMapWithSize(keyStaticSize, valueStaticSize int, count int) (bytes int) + type Cache interface + Add func(key Measurable, data Measurable) + Get func(key Measurable) (data Measurable, ok bool) + func NewLRUEvictedCache(maxBytes int) Cache + func NewRandomEvictedCache(maxBytes int) Cache + type Measurable interface + Size func() int Incompatible versions in this module v2.11.0+incompatible Nov 30, 2018