Documentation ¶
Index ¶
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormStore ¶
type GormStore struct {
// contains filtered or unexported fields
}
func (*GormStore) ClearExpired ¶
func (self *GormStore) ClearExpired()
func (*GormStore) GetExpireTime ¶
If record not exists, return time.Time Zero Value
Click to show internal directories.
Click to hide internal directories.