Documentation ¶
Index ¶
- type AppEngineProvider
- func (mp *AppEngineProvider) SessionAll() int
- func (mp *AppEngineProvider) SessionDestroy(c context.Context, sid string) error
- func (mp *AppEngineProvider) SessionExist(c context.Context, sid string) bool
- func (mp *AppEngineProvider) SessionGC(c context.Context)
- func (mp *AppEngineProvider) SessionInit(gclifetime int64, config string) error
- func (mp *AppEngineProvider) SessionRead(c context.Context, sid string) (session.Store, error)
- func (mp *AppEngineProvider) SessionRegenerate(c context.Context, oldsid, sid string) (session.Store, error)
- type AppEngineSessionStore
- func (st *AppEngineSessionStore) Delete(key interface{}) error
- func (st *AppEngineSessionStore) Flush() error
- func (st *AppEngineSessionStore) Get(key interface{}) interface{}
- func (st *AppEngineSessionStore) SessionID() string
- func (st *AppEngineSessionStore) SessionRelease(w http.ResponseWriter)
- func (st *AppEngineSessionStore) Set(key, value interface{}) error
- type BeegoSessionStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppEngineProvider ¶
type AppEngineProvider struct {
// contains filtered or unexported fields
}
func (*AppEngineProvider) SessionAll ¶
func (mp *AppEngineProvider) SessionAll() int
func (*AppEngineProvider) SessionDestroy ¶
func (mp *AppEngineProvider) SessionDestroy(c context.Context, sid string) error
func (*AppEngineProvider) SessionExist ¶
func (mp *AppEngineProvider) SessionExist(c context.Context, sid string) bool
func (*AppEngineProvider) SessionGC ¶
func (mp *AppEngineProvider) SessionGC(c context.Context)
func (*AppEngineProvider) SessionInit ¶
func (mp *AppEngineProvider) SessionInit(gclifetime int64, config string) error
func (*AppEngineProvider) SessionRead ¶
func (*AppEngineProvider) SessionRegenerate ¶
type AppEngineSessionStore ¶
type AppEngineSessionStore struct {
// contains filtered or unexported fields
}
func (*AppEngineSessionStore) Delete ¶
func (st *AppEngineSessionStore) Delete(key interface{}) error
func (*AppEngineSessionStore) Flush ¶
func (st *AppEngineSessionStore) Flush() error
func (*AppEngineSessionStore) Get ¶
func (st *AppEngineSessionStore) Get(key interface{}) interface{}
func (*AppEngineSessionStore) SessionID ¶
func (st *AppEngineSessionStore) SessionID() string
func (*AppEngineSessionStore) SessionRelease ¶
func (st *AppEngineSessionStore) SessionRelease(w http.ResponseWriter)
SessionRelease will update the data of a session and reset its expiration time
func (*AppEngineSessionStore) Set ¶
func (st *AppEngineSessionStore) Set(key, value interface{}) error
type BeegoSessionStore ¶
Click to show internal directories.
Click to hide internal directories.