Documentation
¶
Index ¶
- func NewUserCourseHandler(service interfaces.UserCourseService) interfaces.UserCourseHandler
- type AppointmentHandler
- type AuthHandler
- type EvaluationHandler
- type ExpertHandler
- type LessonHandler
- type LevelHandler
- type QuestionHandler
- type SectionHandler
- type SocketHandler
- type TestHandler
- type UserCourseHandler
- type UserHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserCourseHandler ¶
func NewUserCourseHandler(service interfaces.UserCourseService) interfaces.UserCourseHandler
Types ¶
type AppointmentHandler ¶
type AppointmentHandler struct {
// contains filtered or unexported fields
}
func NewAppointmentHandler ¶
func NewAppointmentHandler(appointmentService interfaces.AppointmentService) *AppointmentHandler
func (*AppointmentHandler) CreateAppointment ¶
func (h *AppointmentHandler) CreateAppointment(c *fiber.Ctx) error
func (*AppointmentHandler) GetAllAppointments ¶
func (h *AppointmentHandler) GetAllAppointments(c *fiber.Ctx) error
func (*AppointmentHandler) GetAppointmentByID ¶
func (h *AppointmentHandler) GetAppointmentByID(c *fiber.Ctx) error
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(authService interfaces.AuthService) *AuthHandler
type EvaluationHandler ¶
type EvaluationHandler struct {
EvaluationService interfaces.EvaluationService
QuestionService interfaces.QuestionService
}
func NewEvaluationHandler ¶
func NewEvaluationHandler(evaluationService interfaces.EvaluationService, questionService interfaces.QuestionService) *EvaluationHandler
func (*EvaluationHandler) EvaluateObjectiveAnswer ¶
func (h *EvaluationHandler) EvaluateObjectiveAnswer(c *fiber.Ctx) error
func (*EvaluationHandler) EvaluateSubjectiveAnswer ¶
func (h *EvaluationHandler) EvaluateSubjectiveAnswer(c *fiber.Ctx) error
func (*EvaluationHandler) EvaluateVoiceAnswer ¶
func (h *EvaluationHandler) EvaluateVoiceAnswer(c *fiber.Ctx) error
type ExpertHandler ¶
type ExpertHandler struct {
ExpertService interfaces.ExpertService
}
func NewExpertHandler ¶
func NewExpertHandler(expertService interfaces.ExpertService) *ExpertHandler
func (*ExpertHandler) GetAllExperts ¶
func (h *ExpertHandler) GetAllExperts(c *fiber.Ctx) error
func (*ExpertHandler) GetExpertById ¶
func (h *ExpertHandler) GetExpertById(c *fiber.Ctx) error
func (*ExpertHandler) GetExpertSchedule ¶
func (h *ExpertHandler) GetExpertSchedule(c *fiber.Ctx) error
type LessonHandler ¶
type LessonHandler struct {
// contains filtered or unexported fields
}
func NewLessonHandler ¶
func NewLessonHandler(lessonService interfaces.LessonService) *LessonHandler
type LevelHandler ¶
type LevelHandler struct {
// contains filtered or unexported fields
}
func NewLevelHandler ¶
func NewLevelHandler(levelService interfaces.LevelService) *LevelHandler
func (*LevelHandler) AddCompleteLevel ¶
func (h *LevelHandler) AddCompleteLevel(c *fiber.Ctx) error
type QuestionHandler ¶
type QuestionHandler struct {
// contains filtered or unexported fields
}
func NewQuestionHandler ¶
func NewQuestionHandler(questionService interfaces.QuestionService) *QuestionHandler
func (*QuestionHandler) AddQuestion ¶
func (h *QuestionHandler) AddQuestion(c *fiber.Ctx) error
type SectionHandler ¶
type SectionHandler struct {
// contains filtered or unexported fields
}
func NewSectionHandler ¶
func NewSectionHandler(sectionService interfaces.SectionService) *SectionHandler
func (*SectionHandler) AddSection ¶
func (h *SectionHandler) AddSection(c *fiber.Ctx) error
func (*SectionHandler) GetSection ¶
func (h *SectionHandler) GetSection(c *fiber.Ctx) error
func (*SectionHandler) UpdateSectionProgress ¶
func (h *SectionHandler) UpdateSectionProgress(c *fiber.Ctx) error
type SocketHandler ¶
type SocketHandler struct {
// contains filtered or unexported fields
}
func NewSocketHandler ¶
func NewSocketHandler(socketService interfaces.SocketService) *SocketHandler
func (*SocketHandler) HandleWebSocket ¶
func (h *SocketHandler) HandleWebSocket() func(c *fiber.Ctx) error
type TestHandler ¶
type TestHandler struct {
// contains filtered or unexported fields
}
func NewTestHandler ¶
func NewTestHandler(testService interfaces.TestService) *TestHandler
func (*TestHandler) GetTestResult ¶
func (h *TestHandler) GetTestResult(c *fiber.Ctx) error
func (*TestHandler) RetryQuestion ¶
func (h *TestHandler) RetryQuestion(c *fiber.Ctx) error
func (*TestHandler) UploadImage ¶
func (h *TestHandler) UploadImage(c *fiber.Ctx) error
func (*TestHandler) UploadText ¶
func (h *TestHandler) UploadText(c *fiber.Ctx) error
type UserCourseHandler ¶
type UserCourseHandler struct {
UserCourseService interfaces.UserCourseService
}
func (*UserCourseHandler) GetUserCourse ¶
func (h *UserCourseHandler) GetUserCourse(c *fiber.Ctx) error
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(userService interfaces.UserService) *UserHandler
Click to show internal directories.
Click to hide internal directories.