ssdb

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2017 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 added in v1.7.0

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

func (*SsdbProvider) SessionAll added in v1.7.0

func (p *SsdbProvider) SessionAll() int

func (*SsdbProvider) SessionDestroy added in v1.7.0

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

func (*SsdbProvider) SessionExist added in v1.7.0

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

func (*SsdbProvider) SessionGC added in v1.7.0

func (p *SsdbProvider) SessionGC()

func (*SsdbProvider) SessionInit added in v1.7.0

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

func (*SsdbProvider) SessionRead added in v1.7.0

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

func (*SsdbProvider) SessionRegenerate added in v1.7.0

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