Versions in this module Expand all Collapse all v0 v0.1.0 Dec 16, 2021 Changes in this version + type Cache struct + type JSONSerializer struct + func (s JSONSerializer) Deserialize(d []byte, ss *sessions.Session) error + func (s JSONSerializer) Serialize(ss *sessions.Session) ([]byte, error) + type MemStore struct + Codecs []securecookie.Codec + Options *sessions.Options + func NewMemStore(keyPairs ...[]byte) *MemStore + func (m *MemStore) Get(r *http.Request, name string) (*sessions.Session, error) + func (m *MemStore) MaxAge(age int) + func (m *MemStore) New(r *http.Request, name string) (*sessions.Session, error) + func (m *MemStore) Save(r *http.Request, w http.ResponseWriter, s *sessions.Session) error + type SessionSerializer interface + Deserialize func(d []byte, ss *sessions.Session) error + Serialize func(ss *sessions.Session) ([]byte, error)