Versions in this module Expand all Collapse all v1 v1.0.0 Apr 29, 2020 Changes in this version + func GenerateRandomKey(r *http.Request) (string, error) + type KeyGenFunc func(*http.Request) (string, error) + type Option func(ops *Options) + func WithKeyGenFunc(fn KeyGenFunc) Option + func WithKeyPairs(keyPairs ...[]byte) Option + func WithKeyPrefix(keyPrefix string) Option + func WithMaxLength(maxLen int) Option + func WithOptions(opts *sessions.Options) Option + func WithSerializer(serializer serializer.SessionSerializer) Option + type Options struct + Codecs []securecookie.Codec + KeyGenFunc KeyGenFunc + KeyPrefix string + MaxLength int + Options *sessions.Options + Serializer serializer.SessionSerializer + type RedisStore struct + func NewStoreWithUniversalClient(client redis.UniversalClient, optFns ...Option) (*RedisStore, error) + func (st *RedisStore) Get(r *http.Request, name string) (*sessions.Session, error) + func (st *RedisStore) New(r *http.Request, name string) (*sessions.Session, error) + func (st *RedisStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error + func (st *RedisStore) SetOptions(opts *sessions.Options) Other modules containing this package github.com/boxgo/redisstore/v2