Client returns the Redis universal client. It can be used directly for Redis operations like Get, Set, or Publish. Returns: - redis.UniversalClient: The universal Redis client, which supports both standalone and clustered Redis instances.
()
| 199 | // Returns: |
| 200 | // - redis.UniversalClient: The universal Redis client, which supports both standalone and clustered Redis instances. |
| 201 | func (r *Redis) Client() redis.UniversalClient { |
| 202 | return r.client |
| 203 | } |
| 204 | |
| 205 | // MakeRedisClient returns the Redis client interface, allowing compatibility with other packages or tools. |
| 206 | // |
no outgoing calls