memory

package
v0.0.0-...-dbec4ac Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionProvider

type SessionProvider struct {
	// contains filtered or unexported fields
}

func (*SessionProvider) SessionDestroy

func (pder *SessionProvider) SessionDestroy(sid string) error

func (*SessionProvider) SessionGC

func (pder *SessionProvider) SessionGC(maxLifetime int)

func (*SessionProvider) SessionInit

func (pder *SessionProvider) SessionInit(sid string) (session.Session, error)

func (*SessionProvider) SessionRead

func (pder *SessionProvider) SessionRead(sid string) (session.Session, error)

func (*SessionProvider) SessionUpdate

func (pder *SessionProvider) SessionUpdate(sid string) error

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

Jump to

Keyboard shortcuts

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