endpoints

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CourseController

type CourseController interface {
	AddCourse(*gin.Context)
	AddStudentsToCourse(*gin.Context)
	DeleteCourse(*gin.Context)
	GetCourses(*gin.Context)
	RemoveStudentFromCourse(*gin.Context)
}

func NewCourseController

func NewCourseController(repo repository.CourseRepository) CourseController

type SatisfactionController

type SatisfactionController interface {
	GetCourseSatisfaction(ctx *gin.Context)
	AddSatisfaction(ctx *gin.Context)
	GetStudentSatisfaction(ctx *gin.Context)
}

func NewSatisfactionController

func NewSatisfactionController(satisfactionRepository repository.SatisfactionRepository) SatisfactionController

type UserController

type UserController interface {
	GetUser(*gin.Context)
	GetUsers(*gin.Context)
	CreateUser(*gin.Context)
	UpdateUser(*gin.Context)
	DeleteUser(*gin.Context)
}

type WorkloadController

type WorkloadController interface {
	GetStudentWorkloadFromCourse(*gin.Context)
	AddWorkload(*gin.Context)
	AddStudentWorkload(*gin.Context)
}

func NewWorkloadController

func NewWorkloadController(workloadRepository repository.WorkloadRepository, studentWorkloadRepository repository.StudentWorkloadRepository) WorkloadController

Jump to

Keyboard shortcuts

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