session

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 (mp *AppEngineProvider) SessionRead(c context.Context, sid string) (session.Store, error)

func (*AppEngineProvider) SessionRegenerate

func (mp *AppEngineProvider) SessionRegenerate(c context.Context, oldsid, sid string) (session.Store, error)

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

type BeegoSessionStore struct {
	SessionData  []byte `datastore:",noindex"`
	SessionStart time.Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL