Skip to content
New issue

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

Remove redisClient in favour of UniversalClient #21

Merged
merged 2 commits into from
Sep 21, 2020
Merged

Conversation

Celant
Copy link
Contributor

@Celant Celant commented Sep 20, 2020

Remove our interface redisClient and swap it for goredis' redis.UniversalClient interface. This fixes the inability to provide custom brokers with goredis v7.

Couldn't see any reason as to why redisClient was being used. This allows the passing of a redis client as a custom broker, and updates the custom broker example.

If possible, would we be able to get a new release too? That way the redis v7 and these changes are easy to use :)

Remove our interface `redisClient` and swap it for goredis' `redis.UniversalClient` interface. This fixes the inability to provide custom brokers with goredis v7.
Corrects the custom-broker example. You can no longer pass a RedisBroker struct due to an unexported Mutex variable being unset.
@thoas thoas merged commit 0421bea into thoas:master Sep 21, 2020
@thoas
Copy link
Owner

thoas commented Sep 21, 2020

thank you for your PR, published under v0.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants