go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

feat: add publish and subscribe method

Open Kseng opened this issue 1 year ago • 2 comments
trafficstars

  1. Update RedisNode to use UniversalClient
  2. Add Redis publish and subscribe implement

#3819 create new fork and pull request

Kseng avatar Jan 16 '24 06:01 Kseng

Hi @kevwan, I opened a new pull request and fork, because my previous fork and commit was too messy.

Kseng avatar Jan 16 '24 06:01 Kseng

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%> (ø)

... and 2 files with indirect coverage changes

codecov[bot] avatar Jan 17 '24 15:01 codecov[bot]

@kevwan Will this feature be supported in the future?

threeforone avatar May 06 '24 07:05 threeforone

Not planned yet.

kevwan avatar May 06 '24 08:05 kevwan