|
1 | 1 | # Redis client for Golang
|
2 | 2 |
|
3 |
| -[](https://travis-ci.org/go-redis/redis) |
4 |
| -[](https://godoc.org/github.com/go-redis/redis) |
| 3 | +[](https://travis-ci.org/Devister/redis) |
| 4 | +[](https://godoc.org/github.com/Devister/redis) |
5 | 5 | [](https://airbrake.io)
|
6 | 6 |
|
7 | 7 | Supports:
|
8 | 8 |
|
9 | 9 | - Redis 3 commands except QUIT, MONITOR, SLOWLOG and SYNC.
|
10 | 10 | - Automatic connection pooling with [circuit breaker](https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern) support.
|
11 |
| -- [Pub/Sub](https://godoc.org/github.com/go-redis/redis#PubSub). |
12 |
| -- [Transactions](https://godoc.org/github.com/go-redis/redis#example-Client-TxPipeline). |
13 |
| -- [Pipeline](https://godoc.org/github.com/go-redis/redis#example-Client-Pipeline) and [TxPipeline](https://godoc.org/github.com/go-redis/redis#example-Client-TxPipeline). |
14 |
| -- [Scripting](https://godoc.org/github.com/go-redis/redis#Script). |
15 |
| -- [Timeouts](https://godoc.org/github.com/go-redis/redis#Options). |
16 |
| -- [Redis Sentinel](https://godoc.org/github.com/go-redis/redis#NewFailoverClient). |
17 |
| -- [Redis Cluster](https://godoc.org/github.com/go-redis/redis#NewClusterClient). |
18 |
| -- [Cluster of Redis Servers](https://godoc.org/github.com/go-redis/redis#example-NewClusterClient--ManualSetup) without using cluster mode and Redis Sentinel. |
19 |
| -- [Ring](https://godoc.org/github.com/go-redis/redis#NewRing). |
20 |
| -- [Instrumentation](https://godoc.org/github.com/go-redis/redis#ex-package--Instrumentation). |
| 11 | +- [Pub/Sub](https://godoc.org/github.com/Devister/redis#PubSub). |
| 12 | +- [Transactions](https://godoc.org/github.com/Devister/redis#example-Client-TxPipeline). |
| 13 | +- [Pipeline](https://godoc.org/github.com/Devister/redis#example-Client-Pipeline) and [TxPipeline](https://godoc.org/github.com/Devister/redis#example-Client-TxPipeline). |
| 14 | +- [Scripting](https://godoc.org/github.com/Devister/redis#Script). |
| 15 | +- [Timeouts](https://godoc.org/github.com/Devister/redis#Options). |
| 16 | +- [Redis Sentinel](https://godoc.org/github.com/Devister/redis#NewFailoverClient). |
| 17 | +- [Redis Cluster](https://godoc.org/github.com/Devister/redis#NewClusterClient). |
| 18 | +- [Cluster of Redis Servers](https://godoc.org/github.com/Devister/redis#example-NewClusterClient--ManualSetup) without using cluster mode and Redis Sentinel. |
| 19 | +- [Ring](https://godoc.org/github.com/Devister/redis#NewRing). |
| 20 | +- [Instrumentation](https://godoc.org/github.com/Devister/redis#ex-package--Instrumentation). |
21 | 21 | - [Cache friendly](https://github.com/go-redis/cache).
|
22 |
| -- [Rate limiting](https://github.com/go-redis/redis_rate). |
| 22 | +- [Rate limiting](https://github.com/Devister/redis_rate). |
23 | 23 | - [Distributed Locks](https://github.com/bsm/redislock).
|
24 | 24 |
|
25 |
| -API docs: https://godoc.org/github.com/go-redis/redis. |
26 |
| -Examples: https://godoc.org/github.com/go-redis/redis#pkg-examples. |
| 25 | +API docs: https://godoc.org/github.com/Devister/redis. |
| 26 | +Examples: https://godoc.org/github.com/Devister/redis#pkg-examples. |
27 | 27 |
|
28 | 28 | ## Installation
|
29 | 29 |
|
30 | 30 | go-redis requires a Go version with [Modules](https://github.com/golang/go/wiki/Modules) support and uses import versioning. So please make sure to initialize a Go module before installing go-redis:
|
31 | 31 |
|
32 | 32 | ``` shell
|
33 | 33 | go mod init github.com/my/repo
|
34 |
| -go get github.com/go-redis/redis/v7 |
| 34 | +go get github.com/Devister/redis/v7 |
35 | 35 | ```
|
36 | 36 |
|
37 | 37 | Import:
|
38 | 38 |
|
39 | 39 | ``` go
|
40 |
| -import "github.com/go-redis/redis/v7" |
| 40 | +import "github.com/Devister/redis/v7" |
41 | 41 | ```
|
42 | 42 |
|
43 | 43 | ## Quickstart
|
@@ -87,7 +87,7 @@ func ExampleClient() {
|
87 | 87 |
|
88 | 88 | ## Howto
|
89 | 89 |
|
90 |
| -Please go through [examples](https://godoc.org/github.com/go-redis/redis#pkg-examples) to get an idea how to use this package. |
| 90 | +Please go through [examples](https://godoc.org/github.com/Devister/redis#pkg-examples) to get an idea how to use this package. |
91 | 91 |
|
92 | 92 | ## Look and feel
|
93 | 93 |
|
|
0 commit comments