Documentation ¶
Index ¶
- func AboutGET(w http.ResponseWriter, r *http.Request)
- func ClockinCreateGET(w http.ResponseWriter, r *http.Request)
- func ClockinCreatePOST(w http.ResponseWriter, r *http.Request)
- func ClockinsByStudentIdGET(w http.ResponseWriter, r *http.Request)
- func ClockinsByStudentIdJsonGET(w http.ResponseWriter, r *http.Request)
- func Error404(w http.ResponseWriter, r *http.Request)
- func Error500(w http.ResponseWriter, r *http.Request)
- func Index(w http.ResponseWriter, r *http.Request)
- func InvalidToken(w http.ResponseWriter, r *http.Request)
- func List(w http.ResponseWriter, r *http.Request)
- func LoginGET(w http.ResponseWriter, r *http.Request)
- func LoginPOST(w http.ResponseWriter, r *http.Request)
- func Logout(w http.ResponseWriter, r *http.Request)
- func NotepadCreateGET(w http.ResponseWriter, r *http.Request)
- func NotepadCreatePOST(w http.ResponseWriter, r *http.Request)
- func NotepadDeleteGET(w http.ResponseWriter, r *http.Request)
- func NotepadReadGET(w http.ResponseWriter, r *http.Request)
- func NotepadUpdateGET(w http.ResponseWriter, r *http.Request)
- func NotepadUpdatePOST(w http.ResponseWriter, r *http.Request)
- func RegisterGET(w http.ResponseWriter, r *http.Request)
- func RegisterPOST(w http.ResponseWriter, r *http.Request)
- func RegisterStudentGET(w http.ResponseWriter, r *http.Request)
- func RegisterStudentPOST(w http.ResponseWriter, r *http.Request)
- func Static(w http.ResponseWriter, r *http.Request)
- func StudentDeleteGET(w http.ResponseWriter, r *http.Request)
- func StudentUpdateGET(w http.ResponseWriter, r *http.Request)
- func StudentUpdatePOST(w http.ResponseWriter, r *http.Request)
- func StudentsJsonGET(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClockinCreateGET ¶
func ClockinCreateGET(w http.ResponseWriter, r *http.Request)
ClockinCreateGET displays the clockin creation page
func ClockinCreatePOST ¶
func ClockinCreatePOST(w http.ResponseWriter, r *http.Request)
ClockinCreatePOST handles the note creation form submission
func ClockinsByStudentIdGET ¶
func ClockinsByStudentIdGET(w http.ResponseWriter, r *http.Request)
ClockinsByStudentIdJsonGET displays the note update page
func ClockinsByStudentIdJsonGET ¶
func ClockinsByStudentIdJsonGET(w http.ResponseWriter, r *http.Request)
ClockinByStudentIdJsonGET displays the note update 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 InvalidToken ¶
func InvalidToken(w http.ResponseWriter, r *http.Request)
InvalidToken handles CSRF attacks
func NotepadCreateGET ¶
func NotepadCreateGET(w http.ResponseWriter, r *http.Request)
NotepadCreateGET displays the note creation page
func NotepadCreatePOST ¶
func NotepadCreatePOST(w http.ResponseWriter, r *http.Request)
NotepadCreatePOST handles the note creation form submission
func NotepadDeleteGET ¶
func NotepadDeleteGET(w http.ResponseWriter, r *http.Request)
NotepadDeleteGET handles the note deletion
func NotepadReadGET ¶
func NotepadReadGET(w http.ResponseWriter, r *http.Request)
NotepadReadGET displays the notes in the notepad
func NotepadUpdateGET ¶
func NotepadUpdateGET(w http.ResponseWriter, r *http.Request)
NotepadUpdateGET displays the note update page
func NotepadUpdatePOST ¶
func NotepadUpdatePOST(w http.ResponseWriter, r *http.Request)
NotepadUpdatePOST handles the note update form submission
func RegisterGET ¶
func RegisterGET(w http.ResponseWriter, r *http.Request)
func RegisterPOST ¶
func RegisterPOST(w http.ResponseWriter, r *http.Request)
func RegisterStudentGET ¶
func RegisterStudentGET(w http.ResponseWriter, r *http.Request)
func RegisterStudentPOST ¶
func RegisterStudentPOST(w http.ResponseWriter, r *http.Request)
func StudentDeleteGET ¶
func StudentDeleteGET(w http.ResponseWriter, r *http.Request)
StudentDeleteGET handles the note deletion
func StudentUpdateGET ¶
func StudentUpdateGET(w http.ResponseWriter, r *http.Request)
NotepadUpdateGET displays the note update page
func StudentUpdatePOST ¶
func StudentUpdatePOST(w http.ResponseWriter, r *http.Request)
StudentUpdatePOST handles the student update form submission
func StudentsJsonGET ¶
func StudentsJsonGET(w http.ResponseWriter, r *http.Request)
Return the JSON of all the students in the database
Types ¶
This section is empty.