Versions in this module Expand all Collapse all v0 v0.0.2 Jul 24, 2018 Changes in this version + type DefaultSession struct + M map[string]interface{} + func (s *DefaultSession) ExpiresAt(nano int64) + func (s *DefaultSession) Extend(duration time.Duration) + func (s *DefaultSession) Remove(k string) + func (s *DefaultSession) Save() + func (s *DefaultSession) Set(k string, o interface{}) + func (s *DefaultSession) Store() Store + func (s DefaultSession) Agent() string + func (s DefaultSession) Destroy() + func (s DefaultSession) Get(k string) (interface{}, bool) + func (s DefaultSession) IPAddress() string + func (s DefaultSession) IsExpired() bool + func (s DefaultSession) Key() string + func (s DefaultSession) MustGet(k string) interface{} + type Session interface + Agent func() string + Destroy func() + ExpiresAt func(nano int64) + Extend func(duration time.Duration) + Get func(key string) (interface{}, bool) + IPAddress func() string + IsExpired func() bool + Key func() string + MustGet func(key string) interface{} + Remove func(key string) + Save func() + Set func(key string, o interface{}) + Store func() Store + func New(id string, store Store, ipAddress string, agent string) Session + type Store interface + Count func() int + Delete func(key string) + Get func(id string) (Session, bool) + GetNew func(args ...string) Session + Sessions func() StoreMap + Set func(session Session) + type StoreMap map[string]Session