memory

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const SessionTypeMemory httpsession.SessionType = "MEMORY"

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionProvider

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

func NewSessionProvider added in v1.6.2

func NewSessionProvider() *SessionProvider

func (*SessionProvider) Delete added in v1.6.2

func (s *SessionProvider) Delete(key string)

func (*SessionProvider) NewSession added in v1.6.2

func (s *SessionProvider) NewSession(expire time.Time) httpsession.Session

func (*SessionProvider) Save added in v1.6.2

func (s *SessionProvider) Save(session httpsession.Session) error

func (*SessionProvider) Session added in v1.6.2

func (s *SessionProvider) Session(key string) httpsession.Session

func (*SessionProvider) Sessions added in v1.6.2

func (s *SessionProvider) Sessions() map[string]httpsession.Session

func (*SessionProvider) Type added in v1.6.3

Jump to

Keyboard shortcuts

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