You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/storage/redis/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,12 @@ func (s *Storage) Keys() ([][]byte, error)
33
33
```
34
34
### Installation
35
35
Redis is tested on the 2 last [Go versions](https://golang.org/dl/) with support for modules. So make sure to initialize one first if you didn't do that yet:
36
+
37
+
> **Note:** You can also use [DragonflyDB](https://dragonflydb.io/) as a Redis replacement.
38
+
> Since DragonflyDB is fully compatible with the Redis API, you can use it exactly like Redis **without any code changes**.
39
+
> [Example](#example-using-dragonflydb)
40
+
41
+
36
42
```bash
37
43
go mod init github.com/<user>/<repo>
38
44
```
@@ -194,3 +200,7 @@ var ConfigDefault = Config{
194
200
SentinelPassword: "",
195
201
}
196
202
```
203
+
204
+
### Example: Using DragonflyDB
205
+
> **Note:** You can use [DragonflyDB](https://dragonflydb.io/) in the same way as Redis.
206
+
> Simply start a DragonflyDB server and configure it just like Redis. Then, call `New()` and use it exactly as you would with Redis.
0 commit comments