Versions in this module Expand all Collapse all v1 v1.0.3 Nov 24, 2023 Changes in this version + func LoadSessionBySessionId(s *Store, sessionId string) (*sessions.Session, error) + func SaveSessionWithoutContext(s *Store, sessionId string, session *sessions.Session) error + type Store struct + Codecs []securecookie.Codec + DefaultMaxAge int + Opts *sessions.Options + Rdb *redis.ClusterClient + func NewStore(maxIdle int, addrs []string, password string, ...) (*Store, error) + func NewStoreWithOption(opt *redis.ClusterOptions, kvs ...[]byte) (*Store, error) + func (s *Store) Close() error + func (s *Store) Get(r *http.Request, name string) (*sessions.Session, error) + func (s *Store) New(r *http.Request, name string) (*sessions.Session, error) + func (s *Store) Options(options hs.Options) + func (s *Store) Save(r *http.Request, w http.ResponseWriter, session *sessions.Session) error + func (s *Store) SetKeyPrefix(p string) + func (s *Store) SetMaxLength(l int) + func (s *Store) SetSerializer(ss hs.Serializer)