memory

package
v0.0.0-...-b84124f Latest Latest
Warning

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

Go to latest
Published: Dec 11, 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 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

Jump to

Keyboard shortcuts

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