session

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session auth.User

Session represents an authenticated session

type Store

type Store interface {
	//Create creates and returns a session id for the given session
	//or an error if one occurred
	Create(s *Session) (id string, err error)
	//Create returns the session for the given id or nil if it doesn't exist
	//or an error if one occurred
	Check(id string) (*Session, error)
}

Store is a session storage mechanism

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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