Versions in this module Expand all Collapse all v9 v9.0.4 Apr 4, 2023 Changes in this version + type GobSerializer struct + func (gs GobSerializer) Deserialize(d []byte, s *sessions.Session) error + func (gs GobSerializer) Serialize(s *sessions.Session) ([]byte, error) + type KeyGenFunc func() (string, error) + type RedisStore struct + func NewRedisStore(ctx context.Context, client redis.UniversalClient) (*RedisStore, error) + func (s *RedisStore) Close() error + func (s *RedisStore) Get(r *http.Request, name string) (*sessions.Session, error) + func (s *RedisStore) KeyGen(f KeyGenFunc) + func (s *RedisStore) KeyPrefix(keyPrefix string) + func (s *RedisStore) New(r *http.Request, name string) (*sessions.Session, error) + func (s *RedisStore) Options(opts sessions.Options) + func (s *RedisStore) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error + func (s *RedisStore) Serializer(ss SessionSerializer) + type SessionSerializer interface + Deserialize func(b []byte, s *sessions.Session) error + Serialize func(s *sessions.Session) ([]byte, error)