Versions in this module Expand all Collapse all v0 v0.1.1 Feb 21, 2021 v0.1.0 Oct 25, 2020 Changes in this version + var NoSession = errors.New("no session") + type Config interface + MaxAge func() int + Name func() string + func NewConfig(c general.Config) (Config, error) + type Sessions interface + End func(w http.ResponseWriter) + Get func(req *http.Request) (map[string][]byte, error) + GetOrStart func(w http.ResponseWriter, req *http.Request) (map[string][]byte, error) + Start func(w http.ResponseWriter) (map[string][]byte, error) + func NewSessions(c Config) Sessions