sessions icon indicating copy to clipboard operation
sessions copied to clipboard

create redis store with a username and password

Open sunpengfei0307 opened this issue 1 month ago • 0 comments

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。

sunpengfei0307 avatar May 06 '24 08:05 sunpengfei0307