memory

package
v0.0.0-...-213cbcb Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 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 (provider *Provider) SessionDestroy(sid string)

func (*Provider) SessionGC

func (provider *Provider) SessionGC(maxlifetime int)

func (*Provider) SessionInit

func (provider *Provider) SessionInit(sid string) session.Session

func (*Provider) SessionRead

func (provider *Provider) SessionRead(sid string) session.Session

func (*Provider) SessionUpdate

func (provider *Provider) SessionUpdate(sid string)

type SessionStore

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

func (*SessionStore) Delete

func (st *SessionStore) Delete(key interface{})

Delete removes a key, value pair

func (*SessionStore) Get

func (st *SessionStore) Get(key interface{}) interface{}

Get returns value property corresponding to key

func (*SessionStore) SessionId

func (st *SessionStore) SessionId() string

SessionId returns sessionid

func (*SessionStore) Set

func (st *SessionStore) Set(key, value interface{})

Set sets key value pair

Jump to

Keyboard shortcuts

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