Closed Shivam010 closed 2 years ago
Totals | |
---|---|
Change from base Build 1758251414: | 0.0% |
Covered Lines: | 126 |
Relevant Lines: | 133 |
go-redis provides 4 different types of protocols to connect to Redis
Similarly, Redigo provides a single method:
And as we only use Do
method of both the clients. Hence, in order to support these different types of connections in each client, abstracting the required method is the only feasible option
This removes the direct dependency on the corresponding libraries' clients for obtaining a connection
Closes #63
@Shivam010 +1 for solution, this solution will work with all types of clients
Checking ClusterClient support with go-redis
UniversalClient
Closes #53 #63