public

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCourses

func GetCourses(DB db.Database) func(ctx *gin.Context)

GetCourses is a closure for the GET /courses endpoint

func GetInstitutes

func GetInstitutes(DB db.Database) func(ctx *gin.Context)

GetInstitutes is a closure for the GET /institutes endpoint

func GetOfferingComments added in v1.6.0

func GetOfferingComments(DB db.Database) func(ctx *gin.Context)

GetOfferingComments is a closure for the GET /api/restricted/subject/offerings/comments endpoint

func GetOfferingsWithStats added in v1.6.0

func GetOfferingsWithStats(DB db.Database) func(ctx *gin.Context)

GetOfferingsWithStats is a closure for the GET /api/restricted/subject/offerings endpoint

It differs from GetOfferings because it includes user ratings (approval, disapproval) for each offering

func GetProfessors added in v1.5.5

func GetProfessors(DB db.Database) func(ctx *gin.Context)

GetProfessors is a closure for the GET /professors endpoint

func GetRelations

func GetRelations(DB db.Database) func(ctx *gin.Context)

GetRelations is a closure for the GET /api/subject/relations endpoint

func GetSiblingSubjects added in v1.5.9

func GetSiblingSubjects(DB db.Database) func(ctx *gin.Context)

GetSiblingSubjects is a closure for the GET /api/subject/siblings endpoint

func GetStats

func GetStats(DB db.Database) func(*gin.Context)

GetStats is a closure for the GET /stats endpoint

func GetSubjectByCode

func GetSubjectByCode(DB db.Database) func(ctx *gin.Context)

GetSubjectByCode is a closure for the GET /api/subject endpoint

func GetSubjects

func GetSubjects(DB db.Database) func(ctx *gin.Context)

GetSubjects is a closure for the GET /api/subject/search endpoint

func ListSubjects added in v1.6.1

func ListSubjects(DB db.Database) func(ctx *gin.Context)

ListSubjects is a closure for the GET /api/subject/list endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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