Versions in this module Expand all Collapse all v0 v0.0.4 Jun 18, 2021 Changes in this version + const DefaultKey + func Sessions(name string, store Store) gin.HandlerFunc + func SessionsMany(names []string, store Store) gin.HandlerFunc + type Options struct + Domain string + HttpOnly bool + MaxAge int + Path string + SameSite http.SameSite + Secure bool + func (options Options) ToGorillaOptions() *gsessions.Options + type Session interface + AddFlash func(value interface{}, vars ...string) + Clear func() + Delete func(key interface{}) + Flashes func(vars ...string) []interface{} + Get func(key interface{}) interface{} + ID func() string + Options func(Options) + Save func() error + SessionId func() string + Set func(key interface{}, val interface{}) + func Default(c *gin.Context) Session + func DefaultMany(c *gin.Context, name string) Session + type Store interface + Options func(Options)