Versions in this module Expand all Collapse all v1 v1.5.1 Jun 11, 2025 v1.5.0 Jun 9, 2025 Changes in this version + type DefaultSession struct + func NewAbstractSession() *DefaultSession + func (d *DefaultSession) Clear() Session + func (d *DefaultSession) Data() map[string]string + func (d *DefaultSession) Delete(key string) + func (d *DefaultSession) Expire() *time.Time + func (d *DefaultSession) GetInt64(key string) int64 + func (d *DefaultSession) GetString(key string) string + func (d *DefaultSession) GetStruct(key string, obj any) + func (d *DefaultSession) ID() string + func (d *DefaultSession) IsExpire() bool + func (d *DefaultSession) PutInt64(key string, value int64) Session + func (d *DefaultSession) PutString(key string, value string) Session + func (d *DefaultSession) PutStruct(key string, value any) Session + func (d *DefaultSession) Reload() Session + func (d *DefaultSession) Save() Session + func (d *DefaultSession) SetExpire(expire *time.Time) Session + type Session interface + Clear func() Session + Data func() map[string]string + Delete func(key string) + Expire func() *time.Time + GetInt64 func(key string) int64 + GetString func(key string) string + GetStruct func(key string, obj any) + ID func() string + IsExpire func() bool + PutInt64 func(key string, value int64) Session + PutString func(key string, value string) Session + PutStruct func(key string, value any) Session + Reload func() Session + Save func() Session + SetExpire func(expire *time.Time) Session + type SessionProvider interface + NewSession func(expire *time.Time) Session + Session func(key string) Session + Sessions func() map[string]Session