Documentation ¶
Index ¶
- type Manager
- type Session
- func (s *Session) Attribute(key string) interface{}
- func (s *Session) Attributes() map[string]interface{}
- func (s *Session) Bind(uid string)
- func (s *Session) Exists(key string) bool
- func (s *Session) ID() int64
- func (s *Session) Invalidate()
- func (s *Session) Keys() []string
- func (s *Session) RemoveAttribute(key string)
- func (s *Session) SetAttribute(key string, value interface{})
- func (s *Session) UID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
func NewSessionMgr ¶
func NewSessionMgr() *Manager
func (*Manager) FindOrCreateSession ¶
func (*Manager) FindSession ¶
func (*Manager) StoreSession ¶
type Session ¶
func NewSession ¶
func NewSession() *Session
func (*Session) Attributes ¶
func (*Session) Invalidate ¶
func (s *Session) Invalidate()
func (*Session) RemoveAttribute ¶
func (*Session) SetAttribute ¶
Click to show internal directories.
Click to hide internal directories.