Skip to content

create redis store with a username and password #264

Open
@sunpengfei0307

Description

Hi! I check the api:
"github.com/gin-contrib/sessions/redis"

  1. func NewStoreWithDB(size int, network, address, password, DB string, keyPairs ...[]byte) (Store, error), no username filed,

  2. can't reuse the go-redis's handle (created by redis.NewClient()),I have to create a redundant redisgo‘s connection。

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions