Documentation ¶
Index ¶
- type Provider
- func (pder *Provider) SessionDestroy(sid string) error
- func (pder *Provider) SessionGC(maxlifetime int64)
- func (pder *Provider) SessionInit(sid string) (session.Session, error)
- func (pder *Provider) SessionRead(sid string) (session.Session, error)
- func (pder *Provider) SessionUpdate(sid string) error
- type SessionStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) SessionDestroy ¶
func (*Provider) SessionInit ¶
func (*Provider) SessionRead ¶
func (*Provider) SessionUpdate ¶
type SessionStore ¶
type SessionStore struct {
// contains filtered or unexported fields
}
func (*SessionStore) Delete ¶
func (st *SessionStore) Delete(key interface{}) error
func (*SessionStore) Get ¶
func (st *SessionStore) Get(key interface{}) interface{}
func (*SessionStore) SessionID ¶
func (st *SessionStore) SessionID() string
func (*SessionStore) Set ¶
func (st *SessionStore) Set(key, value interface{}) error
Click to show internal directories.
Click to hide internal directories.