controller

package
v0.0.0-...-ea22c33 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 18 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 IndexPOST

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

NotepadCreatePOST handles the note creation form submission

func InvalidToken

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

InvalidToken handles CSRF attacks

func SRTHandler

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

func Static

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

Static maps static files

func UploadAudio

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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