Skip to content

Commit 38c45e9

Browse files
1 parent 16bd350 commit 38c45e9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/storage/redis/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ func (s *Storage) Keys() ([][]byte, error)
3333
```
3434
### Installation
3535
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+
3642
```bash
3743
go mod init github.com/<user>/<repo>
3844
```
@@ -194,3 +200,7 @@ var ConfigDefault = Config{
194200
SentinelPassword: "",
195201
}
196202
```
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

Comments
 (0)