controller

package
v0.0.0-...-a63f1f6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2016 License: MIT 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)

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 Index

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

Displays the default 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)

func LoginPOST

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

func Logout

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

func RegisterGET

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

func RegisterPOST

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

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