handlers

package
v0.0.0-...-674f2a3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCode

func CheckCode(code_def string) bool

func CheckFillIn

func CheckFillIn(fill_def string) bool

func CheckFree

func CheckFree(free_answer string) bool

func CheckMatching

func CheckMatching(match_def string) bool

func CheckNumber

func CheckNumber(number_def string) bool

func CheckQuiz

func CheckQuiz(quiz_def string) bool

func CheckSort

func CheckSort(sort_def string) bool

func CheckSql

func CheckSql(sql_def string) bool

func HandleCheckSubmission

func HandleCheckSubmission(DB *db.Queries) http.HandlerFunc

func HandleCourseLeave

func HandleCourseLeave(DB *db.Queries) http.HandlerFunc

func HandleCreateAssignment

func HandleCreateAssignment(DB *db.Queries) http.HandlerFunc

func HandleCreateCourse

func HandleCreateCourse(DB *db.Queries) http.HandlerFunc

func HandleCreateLecture

func HandleCreateLecture(DB *db.Queries) http.HandlerFunc

func HandleCreateModule

func HandleCreateModule(DB *db.Queries) http.HandlerFunc

func HandleEnrollCourse

func HandleEnrollCourse(DB *db.Queries) http.HandlerFunc

func HandleFilter

func HandleFilter(DB *db.Queries) http.HandlerFunc

func HandleGetAllCategories

func HandleGetAllCategories(DB *db.Queries) http.HandlerFunc

func HandleGetAsset

func HandleGetAsset() http.HandlerFunc

func HandleGetAssignment

func HandleGetAssignment(DB *db.Queries) http.HandlerFunc

func HandleGetAssignments

func HandleGetAssignments(DB *db.Queries) http.HandlerFunc

func HandleGetCategoryCourses

func HandleGetCategoryCourses(DB *db.Queries) http.HandlerFunc

func HandleGetContentOfSubmission

func HandleGetContentOfSubmission(DB *db.Queries) http.HandlerFunc

func HandleGetCourseInfo

func HandleGetCourseInfo(DB *db.Queries) http.HandlerFunc

func HandleGetCourseLectures

func HandleGetCourseLectures(DB *db.Queries) http.HandlerFunc

func HandleGetCourseModules

func HandleGetCourseModules(DB *db.Queries) http.HandlerFunc

func HandleGetCourseSubmissions

func HandleGetCourseSubmissions(DB *db.Queries) http.HandlerFunc

func HandleGetCourses

func HandleGetCourses(DB *db.Queries) http.HandlerFunc

func HandleGetLectureContent

func HandleGetLectureContent(DB *db.Queries) http.HandlerFunc

func HandleGetModuleProgress

func HandleGetModuleProgress(DB *db.Queries) http.HandlerFunc

func HandleGetMyCourses

func HandleGetMyCourses(DB *db.Queries) http.HandlerFunc

func HandleGetMyTeached

func HandleGetMyTeached(DB *db.Queries) http.HandlerFunc

func HandleGetPopularCourses

func HandleGetPopularCourses(DB *db.Queries) http.HandlerFunc

func HandleGetProfileInfo

func HandleGetProfileInfo(DB *db.Queries) http.HandlerFunc

func HandleGetSubmissionForGrading

func HandleGetSubmissionForGrading(DB *db.Queries) http.HandlerFunc

func HandleGradeSubmission

func HandleGradeSubmission(DB *db.Queries) http.HandlerFunc

func HandleLastGrades

func HandleLastGrades(DB *db.Queries) http.HandlerFunc

func HandleLogin

func HandleLogin(DB *db.Queries) http.HandlerFunc

func HandleReadLecture

func HandleReadLecture(DB *db.Queries) http.HandlerFunc

func HandleRegister

func HandleRegister(DB *db.Queries) http.HandlerFunc

TODO:refactor this to use the new types.JsonResponse

func HandleUpdateProfileInfo

func HandleUpdateProfileInfo(DB *db.Queries) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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