memorysessionstorage

package
v0.0.0-...-9bbed00 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSessionID

func GenerateSessionID() string

Types

type MemorySessionStorage

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

func NewMemorySessionStorage

func NewMemorySessionStorage() *MemorySessionStorage

func (*MemorySessionStorage) LookupSession

func (s *MemorySessionStorage) LookupSession(ctx context.Context, sessionID string) (*sessions.Session, error)

func (*MemorySessionStorage) WriteSession

func (s *MemorySessionStorage) WriteSession(ctx context.Context, session *sessions.Session) error

Jump to

Keyboard shortcuts

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