|
@@ -92,9 +92,9 @@ func RedisDel(key string) error {
|
|
|
return RDB.Del(ctx, key).Err()
|
|
return RDB.Del(ctx, key).Err()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func RedisHDelObj(key string) error {
|
|
|
|
|
|
|
+func RedisDelKey(key string) error {
|
|
|
if DebugEnabled {
|
|
if DebugEnabled {
|
|
|
- SysLog(fmt.Sprintf("Redis HDEL: key=%s", key))
|
|
|
|
|
|
|
+ SysLog(fmt.Sprintf("Redis DEL Key: key=%s", key))
|
|
|
}
|
|
}
|
|
|
ctx := context.Background()
|
|
ctx := context.Background()
|
|
|
return RDB.Del(ctx, key).Err()
|
|
return RDB.Del(ctx, key).Err()
|