sessions

package
v0.0.0-...-a197a46 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func New

func New(db pogo.DB, model *user.Model, sessions session.Store, view *sessions.View) *Controller

func (*Controller) Create

func (c *Controller) Create(w http.ResponseWriter, r *http.Request)

login

func (*Controller) Delete

func (c *Controller) Delete(w http.ResponseWriter, r *http.Request)

logout

func (*Controller) New

func (c *Controller) New(w http.ResponseWriter, r *http.Request)

login page

Jump to

Keyboard shortcuts

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