Add DragonflyDB info to Redis README and remove DragonflyDB file

- Added DragonflyDB usage details to Redis README
- Removed the DragonflyDB file
- No extra tests were added for DragonflyDB; existing Redis tests work for it
This commit is contained in:
Sadık Sünbül
2025-01-30 20:40:41 +03:00
parent 4e570adc99
commit a7c7b42836
9 changed files with 17 additions and 891 deletions

View File

@@ -13,7 +13,11 @@ type Storage struct {
db redis.UniversalClient
}
// New creates a new redis storage
// New creates a new Redis storage instance.
//
// DragonflyDB is fully compatible with the Redis API, meaning it can be used as a drop-in replacement for Redis.
//
// Because of this compatibility, DragonflyDB can also be initialized through this function.
func New(config ...Config) *Storage {
// Set default config
cfg := configDefault(config...)