controller

package
v0.0.0-...-93a054a Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AboutGET

func AboutGET(w http.ResponseWriter, r *http.Request)

AboutGET displays the About page

func Error404

func Error404(w http.ResponseWriter, r *http.Request)

Error404 handles 404 - Page Not Found

func Error500

func Error500(w http.ResponseWriter, r *http.Request)

Error500 handles 500 - Internal Server Error

func IndexGET

func IndexGET(w http.ResponseWriter, r *http.Request)

IndexGET displays the home page

func InvalidToken

func InvalidToken(w http.ResponseWriter, r *http.Request)

InvalidToken handles CSRF attacks

func LoginGET

func LoginGET(w http.ResponseWriter, r *http.Request)

LoginGET displays the login page

func LoginPOST

func LoginPOST(w http.ResponseWriter, r *http.Request)

LoginPOST handles the login form submission

func LogoutGET

func LogoutGET(w http.ResponseWriter, r *http.Request)

LogoutGET clears the session and logs the client out

func MemberAreaGET

func MemberAreaGET(w http.ResponseWriter, r *http.Request)

MemberAreaGET displays protected area page

func RegisterPOST

func RegisterPOST(w http.ResponseWriter, r *http.Request)

RegisterPOST handles the registration form submission

func Static

func Static(w http.ResponseWriter, r *http.Request)

Static maps static files

Types

This section is empty.

Jump to

Keyboard shortcuts

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