Versions in this module Expand all Collapse all v5 v5.100.1 Jun 2, 2020 v5.100.0 May 26, 2020 Changes in this version + type Cache interface + Add func(key, value interface{}) + AddWithDefaultExpires func(key, value interface{}) + AddWithExpiresInSecs func(key, value interface{}, expireAtSecs int64) + Get func(key interface{}) (value interface{}, ok bool) + GetInvalidateClusterEvent func() string + GetOrAdd func(key, value interface{}, ttl time.Duration) (actual interface{}, loaded bool) + Keys func() []interface{} + Len func() int + Name func() string + Purge func() + Remove func(key interface{}) + RemoveByPrefix func(prefix string) + type Provider interface + Close func() + Connect func() + NewCache func(size int) Cache + NewCacheWithParams func(size int, name string, defaultExpiry int64, invalidateClusterEvent string) Cache Other modules containing this package github.com/mad-app/mattermost-server