handler

package
v0.0.0-...-038e035 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func (*AuthHandler) Login

func (h *AuthHandler) Login(c *fiber.Ctx) error

func (*AuthHandler) Register

func (h *AuthHandler) Register(c *fiber.Ctx) error

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) AddExpert

func (h *ExpertHandler) AddExpert(c *fiber.Ctx) error

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

func (*LessonHandler) AddLesson

func (h *LessonHandler) AddLesson(c *fiber.Ctx) error

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

func (*LevelHandler) AddLevel

func (h *LevelHandler) AddLevel(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

func (*QuestionHandler) GetHint

func (h *QuestionHandler) GetHint(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

func (*UserHandler) GetXP

func (h *UserHandler) GetXP(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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