Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create redis store with a username and password #264

Open
sunpengfei0307 opened this issue May 6, 2024 · 0 comments
Open

create redis store with a username and password #264

sunpengfei0307 opened this issue May 6, 2024 · 0 comments

Comments

@sunpengfei0307
Copy link

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。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant