mirror of
https://github.com/HDT3213/delayqueue.git
synced 2025-12-24 10:30:52 +08:00
update redis/v8 guide
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# DelayQueue
|
||||
|
||||

|
||||
[](https://app.travis-ci.com/github/HDT3213/delayqueue)
|
||||

|
||||
[](https://coveralls.io/github/HDT3213/delayqueue?branch=master)
|
||||
[](https://goreportcard.com/report/github.com/HDT3213/delayqueue)
|
||||
[](https://pkg.go.dev/github.com/hdt3213/delayqueue)
|
||||
@@ -69,7 +69,9 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
> if you are using github.com/go-redis/redis/v8 please use `go get github.com/hdt3213/delayqueue@v8`
|
||||
> if you are using github.com/go-redis/redis/v8 please use `go get github.com/hdt3213/delayqueue@redisv8`
|
||||
|
||||
> Please note that redis/v8 is not compatible with redis cluster 7.x. [detail](https://github.com/redis/go-redis/issues/2085)
|
||||
|
||||
> If you are using redis client other than go-redis, you could wrap your redis client into [RedisCli](https://pkg.go.dev/github.com/hdt3213/delayqueue#RedisCli) interface
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||

|
||||
[](https://app.travis-ci.com/github/HDT3213/delayqueue)
|
||||

|
||||
[](https://coveralls.io/github/HDT3213/delayqueue?branch=master)
|
||||
[](https://goreportcard.com/report/github.com/HDT3213/delayqueue)
|
||||
[](https://pkg.go.dev/github.com/hdt3213/delayqueue)
|
||||
@@ -66,7 +66,9 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
> 如果您仍在使用 redis/v8 请使用 v8 分支: `go get github.com/hdt3213/delayqueue@v8`
|
||||
> 如果您仍在使用 redis/v8 请使用 redisv8 分支: `go get github.com/hdt3213/delayqueue@redisv8`
|
||||
|
||||
> 请注意 redis/v8 无法兼容 redis cluster 7.x; [详情](https://github.com/redis/go-redis/issues/2085)
|
||||
|
||||
> 如果您在使用其他的 redis 客户端, 可以将其包装到 [RedisCli](https://pkg.go.dev/github.com/hdt3213/delayqueue#RedisCli) 接口中
|
||||
|
||||
|
||||
Reference in New Issue
Block a user