Ping verifies the Redis connection.
(ctx context.Context, client *redis.Client)
| 77 | |
| 78 | // Ping verifies the Redis connection. |
| 79 | func Ping(ctx context.Context, client *redis.Client) error { |
| 80 | return client.Ping(ctx).Err() |
| 81 | } |
| 82 | |
| 83 | // Close closes the Redis client. |
| 84 | func Close(client *redis.Client) error { |