mirror of
https://github.com/gofiber/storage.git
synced 2025-12-24 13:29:30 +08:00
Update redis/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3d2d5c05eb
commit
e831cb421c
@@ -21,7 +21,7 @@ A Redis storage driver using [go-redis/redis](https://github.com/go-redis/redis)
|
||||
### Signatures
|
||||
```go
|
||||
func New(config ...Config) Storage
|
||||
func NewFromConnection(conn redis.UniversalClient) Storage
|
||||
func NewFromConnection(conn redis.UniversalClient) *Storage
|
||||
func (s *Storage) Get(key string) ([]byte, error)
|
||||
func (s *Storage) Set(key string, val []byte, exp time.Duration) error
|
||||
func (s *Storage) Delete(key string) error
|
||||
|
||||
Reference in New Issue
Block a user