Versions in this module Expand all Collapse all v2 v2.8.21 Nov 19, 2024 v2.8.20 Nov 19, 2024 Changes in this version + type MockCacheClient struct + BaseCache cache.CacheClient + ReadDelay time.Duration + WriteDelay time.Duration + func (c *MockCacheClient) Delete(key string) error + func (c *MockCacheClient) Get(key string, obj interface{}) error + func (c *MockCacheClient) NotifyUpdated(key string) error + func (c *MockCacheClient) OnUpdated(ctx context.Context, key string, callback func() error) error + func (c *MockCacheClient) Rename(oldKey string, newKey string, expiration time.Duration) error + func (c *MockCacheClient) Set(item *cache.Item) error