Documentation ¶
Index ¶
- func NewApproveTrainingRescheduleHandler(repo training.Repository, userService UserService, ...) decorator.CommandHandler[ApproveTrainingReschedule]
- func NewCancelTrainingHandler(repo training.Repository, userService UserService, ...) decorator.CommandHandler[CancelTraining]
- type ApproveTrainingReschedule
- type ApproveTrainingRescheduleHandler
- type CancelTraining
- type CancelTrainingHandler
- type RejectTrainingReschedule
- type RejectTrainingRescheduleHandler
- type RequestTrainingReschedule
- type RequestTrainingRescheduleHandler
- type RescheduleTraining
- type RescheduleTrainingHandler
- type ScheduleTraining
- type ScheduleTrainingHandler
- type TrainerService
- type UserService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApproveTrainingRescheduleHandler ¶
func NewApproveTrainingRescheduleHandler( repo training.Repository, userService UserService, trainerService TrainerService, logger *logrus.Entry, metricsClient decorator.MetricsClient, ) decorator.CommandHandler[ApproveTrainingReschedule]
func NewCancelTrainingHandler ¶
func NewCancelTrainingHandler( repo training.Repository, userService UserService, trainerService TrainerService, logger *logrus.Entry, metricsClient decorator.MetricsClient, ) decorator.CommandHandler[CancelTraining]
Types ¶
type ApproveTrainingRescheduleHandler ¶
type ApproveTrainingRescheduleHandler decorator.CommandHandler[ApproveTrainingReschedule]
type CancelTraining ¶
type CancelTrainingHandler ¶
type CancelTrainingHandler decorator.CommandHandler[CancelTraining]
type RejectTrainingRescheduleHandler ¶
type RejectTrainingRescheduleHandler decorator.CommandHandler[RejectTrainingReschedule]
func NewRejectTrainingRescheduleHandler ¶
func NewRejectTrainingRescheduleHandler( repo training.Repository, logger *logrus.Entry, metricsClient decorator.MetricsClient, ) RejectTrainingRescheduleHandler
type RequestTrainingRescheduleHandler ¶
type RequestTrainingRescheduleHandler decorator.CommandHandler[RequestTrainingReschedule]
func NewRequestTrainingRescheduleHandler ¶
func NewRequestTrainingRescheduleHandler( repo training.Repository, logger *logrus.Entry, metricsClient decorator.MetricsClient, ) RequestTrainingRescheduleHandler
type RescheduleTraining ¶
type RescheduleTrainingHandler ¶
type RescheduleTrainingHandler decorator.CommandHandler[RescheduleTraining]
func NewRescheduleTrainingHandler ¶
func NewRescheduleTrainingHandler( repo training.Repository, userService UserService, trainerService TrainerService, logger *logrus.Entry, metricsClient decorator.MetricsClient, ) RescheduleTrainingHandler
type ScheduleTraining ¶
type ScheduleTrainingHandler ¶
type ScheduleTrainingHandler decorator.CommandHandler[ScheduleTraining]
func NewScheduleTrainingHandler ¶
func NewScheduleTrainingHandler( repo training.Repository, userService UserService, trainerService TrainerService, logger *logrus.Entry, metricsClient decorator.MetricsClient, ) ScheduleTrainingHandler
type TrainerService ¶
Click to show internal directories.
Click to hide internal directories.