auth

package
v0.0.0-...-f06e5ea Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleLogin

func HandleLogin(conn *database.Conn, writer http.ResponseWriter, request *http.Request)

func HandleLogout

func HandleLogout(writer http.ResponseWriter, request *http.Request)

func HandleViewLoginForm

func HandleViewLoginForm(writer http.ResponseWriter, request *http.Request)

Types

type LoginFormData

type LoginFormData struct {
	User         *model.User
	ErrorMessage string
}

Jump to

Keyboard shortcuts

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