Versions in this module Expand all Collapse all v1 v1.1.21 Jul 5, 2021 Changes in this version + type SpaceLimitCache struct + func NewSpaceLimitCache(num, maxByteSize int) *SpaceLimitCache + func (c *SpaceLimitCache) Add(key interface{}, val interface{}, size int) bool + func (c *SpaceLimitCache) Contains(key interface{}) bool + func (c *SpaceLimitCache) Get(key interface{}) interface{} + func (c *SpaceLimitCache) Remove(key interface{}) (interface{}, bool)