Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCache ¶
func SetCache( ctx context.Context, key string, data interface{}, ttl int64, distributedCache service.IRedisCache, localCache service.ILocalCache, ) (res string, ok bool)
*
- Set cache - set distributed cache and local cache
- @param ctx
- @param key
- @param data
- @param ttl
- @param distributedCache
- @param localCache
- @return bool, error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.