Versions in this module Expand all Collapse all v1 v1.1.2 Oct 5, 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 + func NewRedisStore(client redis.UniversalClient) (*RedisStore, 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) + func (s *RedisStore) WithContext(context context.Context) *RedisStore + type SessionSerializer interface + Deserialize func(b []byte, s *sessions.Session) error + Serialize func(s *sessions.Session) ([]byte, error)