Versions in this module Expand all Collapse all v0 v0.0.2 Sep 22, 2020 v0.0.1 Sep 18, 2020 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 + Options *sessions.Options + func NewRedisStore(client redis.UniversalClient) *RedisStore + 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) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error + func (s *RedisStore) Serializer(ss SessionSerializer) + func (s *RedisStore) SetOptions(opts sessions.Options) + type SessionSerializer interface + Deserialize func(b []byte, s *sessions.Session) error + Serialize func(s *sessions.Session) ([]byte, error)