Del deletes specified key
(key string)
| 128 | |
| 129 | // Del deletes specified key |
| 130 | func (rc *RedisClient) Del(key string) (int64, error) { |
| 131 | ctx := context.Background() |
| 132 | return rc.client.Del(ctx, key).Result() |
| 133 | } |
| 134 | |
| 135 | // INCR atomically increment the value by 1 specified by key |
| 136 | func (rc *RedisClient) INCR(key string) (int, error) { |
no outgoing calls