restricted

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGrades

func GetGrades(ctx *gin.Context, DB db.Database, sub *controllers.Subject)

GetGrades returns all grades from a given subject

func GetOfferingComments

func GetOfferingComments(ctx *gin.Context, DB db.Database, off *controllers.Offering)

GetOfferingComments retrieves the comments made so far for a given offering

func GetOfferingsWithStats

func GetOfferingsWithStats(ctx *gin.Context, DB db.Database, sub *controllers.Subject)

GetOfferingsWithStats retrieves a list of offerings for a given subject, along with the comment stats associated with them

It is a closure for the GET /api/restricted/offerings endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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