Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRedisStore ¶
GetRedisStore get the actual woking store. Ref: https://godoc.org/github.com/boj/redistore#RediStore
func NewStore ¶
func NewStore(ctx context.Context, client redis.UniversalClient) (ginsessions.Store, error)
NewStore - create new session store with given redis client interface
func SetKeyPrefix ¶
SetKeyPrefix sets the key prefix in the redis database.
Types ¶
type Store ¶
type Store interface { ginsessions.Store }
Click to show internal directories.
Click to hide internal directories.