Update redis/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Juan Calderon-Perez
2025-04-26 11:39:56 -04:00
committed by GitHub
parent 3d2d5c05eb
commit e831cb421c

View File

@@ -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