private

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 DeleteComment

func DeleteComment(ctx *gin.Context)

DeleteComment is a dummy view method

func GetComment

func GetComment(ctx *gin.Context, comment *models.Comment)

GetComment takes the model comment and presents its response view object.

func GetCommentRating

func GetCommentRating(ctx *gin.Context, model *models.CommentRating)

GetCommentRating takes the model comment rating and presents its response view object.

func GetSubjectGrade

func GetSubjectGrade(ctx *gin.Context, grade *models.Record)

GetSubjectGrade takes the grade model and presents its response view object

func GetSubjectReview

func GetSubjectReview(ctx *gin.Context, review *models.SubjectReview)

GetSubjectReview takes the review model and presents its response view object

func GetSubjectVerification added in v1.6.0

func GetSubjectVerification(ctx *gin.Context, verification bool)

GetSubjectVerification takes the verification bool and presents it as a response view object

A true verification means that the user has completed the subject

func PublishComment

func PublishComment(ctx *gin.Context, model *models.Comment)

PublishComment takes the model comment and presents its response view object

func RateComment

func RateComment(ctx *gin.Context)

RateComment is a dummy view method

func ReportComment

func ReportComment(ctx *gin.Context)

ReportComment is a dummy view method

func UpdateSubjectReview

func UpdateSubjectReview(ctx *gin.Context)

UpdateSubjectReview is a dummy view method

Types

This section is empty.

Jump to

Keyboard shortcuts

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