mirror of
https://github.com/gofiber/storage.git
synced 2025-10-04 16:22:52 +08:00
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:
@@ -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...)
|
||||
|
Reference in New Issue
Block a user