memory

package
Version: v0.7.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 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 Provider

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

func (*Provider) SessionDestroy

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

func (*Provider) SessionGC

func (pder *Provider) SessionGC(maxlifetime int64)

func (*Provider) SessionInit

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

func (*Provider) SessionRead

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

func (*Provider) SessionUpdate

func (pder *Provider) 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL