session

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 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