httpsessions

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoSessions

type GoSessions struct {
	Store *scs.SessionManager
}

func (GoSessions) Clear

func (gs GoSessions) Clear(ctx context.Context)

func (GoSessions) Get

func (gs GoSessions) Get(ctx context.Context, key string) authpher.Data

func (GoSessions) Save

func (gs GoSessions) Save(ctx context.Context)

Don't needed, as scs.SessionManager manages saving itself

func (GoSessions) Set

func (gs GoSessions) Set(ctx context.Context, k string, v authpher.Data)

Jump to

Keyboard shortcuts

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