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) }
func NewUserController ¶
func NewUserController(r repository.UserRepository) UserController
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
Click to show internal directories.
Click to hide internal directories.