ssdb

package
v0.0.0-...-a323839 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionStore

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

func (*SessionStore) Delete

func (s *SessionStore) Delete(key interface{}) error

func (*SessionStore) Flush

func (s *SessionStore) Flush() error

func (*SessionStore) Get

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

func (*SessionStore) SessionID

func (s *SessionStore) SessionID() string

func (*SessionStore) SessionRelease

func (s *SessionStore) SessionRelease(w http.ResponseWriter)

func (*SessionStore) Set

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

type SsdbProvider

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

func (*SsdbProvider) SessionAll

func (p *SsdbProvider) SessionAll() int

func (*SsdbProvider) SessionDestroy

func (p *SsdbProvider) SessionDestroy(sid string) error

func (*SsdbProvider) SessionExist

func (p *SsdbProvider) SessionExist(sid string) bool

func (*SsdbProvider) SessionGC

func (p *SsdbProvider) SessionGC()

func (*SsdbProvider) SessionInit

func (p *SsdbProvider) SessionInit(maxLifetime int64, savePath string) error

func (*SsdbProvider) SessionRead

func (p *SsdbProvider) SessionRead(sid string) (session.Store, error)

func (*SsdbProvider) SessionRegenerate

func (p *SsdbProvider) SessionRegenerate(oldsid, sid string) (session.Store, error)

Jump to

Keyboard shortcuts

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