provider

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 5 Imported by: 2

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(qq int64) error

func (*Provider) SessionGC

func (pder *Provider) SessionGC(maxlifetime int64)

func (*Provider) SessionInit

func (pder *Provider) SessionInit(qq int64) (session.Session, error)

func (*Provider) SessionRead

func (pder *Provider) SessionRead(qq int64) (session.Session, error)

func (*Provider) SessionUpdate

func (pder *Provider) SessionUpdate(qq int64) 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{}, error)

func (*SessionStore) GetInt

func (st *SessionStore) GetInt(key interface{}) (int, error)

func (*SessionStore) GetString

func (st *SessionStore) GetString(key interface{}) (string, error)

func (*SessionStore) QQ

func (st *SessionStore) QQ() int64

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