package
0.0.0-20191010124238-a0faf1b32581
Repository: https://github.com/jlytwhx/yellowduck.git
Documentation: pkg.go.dev
# Functions
GetRedisStore get the actual woking store.
NewRediStore returns a new RediStore.
NewRediStoreWithDB - like NewRedisStore but accepts `DB` parameter to select redis DB instead of using the default one ("0").
NewRediStoreWithPool instantiates a RediStore with a *redis.Pool passed in.
No description provided by the author
NewStoreWithDB - like NewStore but accepts `DB` parameter to select redis DB instead of using the default one ("0")
Ref: https://godoc.org/github.com/boj/redistore#NewRediStoreWithDB.
NewStoreWithPool instantiates a RediStore with a *redis.Pool passed in.
SetKeyPrefix sets the key prefix in the redis database.
# Structs
GobSerializer uses gob package to encode the sessions map.
JSONSerializer encode the sessions map to JSON.
RediStore stores sessions in a redis backend.
# Interfaces
SessionSerializer provides an interface hook for alternative serializers.
No description provided by the author