mirror of
https://github.com/gofiber/storage.git
synced 2025-12-24 13:29:30 +08:00
Rename NewRedisStore => New
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/gomodule/redigo/redis"
|
||||
)
|
||||
|
||||
func NewRedisStore(dialFunc func() (redis.Conn, error), redisKey string) *RedisStore {
|
||||
func New(dialFunc func() (redis.Conn, error), redisKey string) *RedisStore {
|
||||
return &RedisStore{
|
||||
connPool: redis.NewPool(dialFunc, 3),
|
||||
redisKey: redisKey,
|
||||
|
||||
Reference in New Issue
Block a user