(key string)
| 97 | } |
| 98 | |
| 99 | func RedisDelKey(key string) error { |
| 100 | if DebugEnabled { |
| 101 | SysLog(fmt.Sprintf("Redis DEL Key: key=%s", key)) |
| 102 | } |
| 103 | ctx := context.Background() |
| 104 | return RDB.Del(ctx, key).Err() |
| 105 | } |
| 106 | |
| 107 | func RedisHSetObj(key string, obj interface{}, expiration time.Duration) error { |
| 108 | if DebugEnabled { |
no test coverage detected