Documentation ¶
Index ¶
- func NewCacheManager(cfg *config.Config) cache.CacheManager
- type Cache
- func (rc *Cache) Delete(key string)
- func (rc *Cache) Exists(key string) bool
- func (rc *Cache) Get(key string, value interface{}) error
- func (rc *Cache) Keys() []string
- func (rc *Cache) Store(key string, value interface{}) error
- func (rc *Cache) StoreWithTTL(key string, value interface{}, ttl time.Duration) error
- type CacheManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheManager ¶
func NewCacheManager(cfg *config.Config) cache.CacheManager
Types ¶
type CacheManager ¶
type CacheManager struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.