go-zero
go-zero copied to clipboard
feat: add publish and subscribe method
- Update RedisNode to use UniversalClient
- Add Redis publish and subscribe implement
#3819 create new fork and pull request
Hi @kevwan, I opened a new pull request and fork, because my previous fork and commit was too messy.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.52%. Comparing base (
2629636) to head (2224ffe). Report is 22 commits behind head on master.
:exclamation: Current head 2224ffe differs from pull request most recent head 1d7f9c2. Consider uploading reports for the commit 1d7f9c2 to get more accurate results
Additional details and impacted files
| Files | Coverage Δ | |
|---|---|---|
| core/stores/redis/redis.go | 97.77% <100.00%> (-1.99%) |
:arrow_down: |
| core/stores/redis/redisblockingnode.go | 91.42% <100.00%> (ø) |
|
| core/stores/redis/redisclientmanager.go | 81.25% <100.00%> (ø) |
|
| core/stores/redis/redisclustermanager.go | 85.71% <100.00%> (ø) |
|
| core/stores/redis/redislock.go | 81.39% <100.00%> (ø) |
@kevwan Will this feature be supported in the future?
Not planned yet.