Documentation ¶
Index ¶
- func NewSessRedisStore(redisIns *redis.Client, config configs.RedisConfig) *sessRedisStore
- type Session
- func (s *Session) Close(request *http.Request, response http.ResponseWriter)
- func (s *Session) Del(k string)
- func (s *Session) Destroy()
- func (s *Session) Get(value interface{}, k string)
- func (s *Session) IsExist(k string) bool
- func (s *Session) Rename() (err error)
- func (s *Session) Set(k string, v interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSessRedisStore ¶
func NewSessRedisStore(redisIns *redis.Client, config configs.RedisConfig) *sessRedisStore
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession(request *http.Request, store sessionStoreInterface, config configs.SessionConfig) (s *Session)
Click to show internal directories.
Click to hide internal directories.