package
1.0.3
Repository: https://github.com/nextgis/go-sessions.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.
size: maximum number of idle connections.
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 session map.
JSONSerializer encode the session 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