scs_session

package module
v0.0.0-...-0ff5b8e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(s *Store, next http.Handler) http.Handler

Types

type Store

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

Store wraps scs.SessionManager to implement identity.SessionStore

func New

func New(m *scs.SessionManager) *Store

func (*Store) Destroy

func (s *Store) Destroy(ctx context.Context) error

func (*Store) Get

func (s *Store) Get(ctx context.Context) (core.ID, error)

func (*Store) Put

func (s *Store) Put(ctx context.Context, id core.ID) error

Source Files

  • store.go

Jump to

Keyboard shortcuts

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