We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The rueidiscompat sub-module aims to provide the same interface as go-redis as closely as possible while utilizing rueidis under the hood.
rueidiscompat
go-redis has the following interface:
https://github.com/redis/go-redis/blob/40e049e67a4cce574f7972b53b1a8172bbe45d5e/cluster_commands.go#L9 type ClusterCmdable interface { ... ClusterLinks(ctx context.Context) *ClusterLinksCmd ... }
while in rueidiscompat, it is currently not implemented:
rueidis/rueidiscompat/adapter.go
Line 385 in 20fc2cd
Therefore, we should catch up go-redis by implementing the function to the rueidiscompat.Compat and the rueidiscompat.Pipeline struct.
rueidiscompat.Compat
rueidiscompat.Pipeline
Take the below ACLDryRun as an example to implement the new function in rueidiscompat that provides the same interface as go-redis:
ACLDryRun
Lines 3199 to 3203 in 93e9af3
rueidis/rueidiscompat/pipeline.go
Lines 2086 to 2090 in 93e9af3
The text was updated successfully, but these errors were encountered:
Can you assign this to me? @rueian
Sorry, something went wrong.
SoulPancake
No branches or pull requests
The
rueidiscompat
sub-module aims to provide the same interface as go-redis as closely as possible while utilizing rueidis under the hood.go-redis has the following interface:
while in
rueidiscompat
, it is currently not implemented:rueidis/rueidiscompat/adapter.go
Line 385 in 20fc2cd
Therefore, we should catch up go-redis by implementing the function to the
rueidiscompat.Compat
and therueidiscompat.Pipeline
struct.Take the below
ACLDryRun
as an example to implement the new function inrueidiscompat
that provides the same interface as go-redis:rueidis/rueidiscompat/adapter.go
Lines 3199 to 3203 in 93e9af3
rueidis/rueidiscompat/pipeline.go
Lines 2086 to 2090 in 93e9af3
The text was updated successfully, but these errors were encountered: