Versions in this module Expand all Collapse all v1 v1.1.0 Aug 17, 2022 Changes in this version + type GormStore struct + func New(db *gorm.DB) *GormStore + func (self *GormStore) ClearExpired() + func (self *GormStore) Delete(key string) + func (self *GormStore) Exists(key string) bool + func (self *GormStore) Get(key string) (map[string]interface{}, error) + func (self *GormStore) GetExpireTime(key string) time.Time + func (self *GormStore) Set(key string, value map[string]interface{}, expire time.Duration) error + func (self *GormStore) SetExpireTime(key string, duration time.Duration) + type Session struct + Data string + ExpireTime time.Time + Key string