Documentation ¶
Index ¶
- func BuildCacheKey(cacheKey string) string
- func CacheDir(dir ...string) string
- func CacheKeyPrefix(prefix ...string) string
- func CacheKeyRedismqDelayable(cacheKey ...string) string
- func CacheKeyRedismqNormal(cacheKey ...string) string
- func DefaultStore(name ...string) string
- func Store(name string) ccachex.ICache
- func WithFileCache()
- func WithMemoryCache(defaultTtl time.Duration, cleanupInterval time.Duration)
- func WithRedisCache()
- type CacheEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCacheKey ¶
func CacheKeyPrefix ¶
func CacheKeyRedismqNormal ¶
func DefaultStore ¶
func WithFileCache ¶
func WithFileCache()
func WithMemoryCache ¶
func WithRedisCache ¶
func WithRedisCache()
Types ¶
type CacheEntry ¶
Click to show internal directories.
Click to hide internal directories.