Documentation ¶
Index ¶
- 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 ¶
This section is empty.
Types ¶
type ApproveTrainingRescheduleHandler ¶
type ApproveTrainingRescheduleHandler struct {
// contains filtered or unexported fields
}
func NewApproveTrainingRescheduleHandler ¶
func NewApproveTrainingRescheduleHandler( repo training.Repository, userService UserService, trainerService TrainerService, ) ApproveTrainingRescheduleHandler
func (ApproveTrainingRescheduleHandler) Handle ¶
func (h ApproveTrainingRescheduleHandler) Handle(ctx context.Context, cmd ApproveTrainingReschedule) (err error)
type CancelTraining ¶
type CancelTrainingHandler ¶
type CancelTrainingHandler struct {
// contains filtered or unexported fields
}
func NewCancelTrainingHandler ¶
func NewCancelTrainingHandler(repo training.Repository, userService UserService, trainerService TrainerService) CancelTrainingHandler
func (CancelTrainingHandler) Handle ¶
func (h CancelTrainingHandler) Handle(ctx context.Context, cmd CancelTraining) (err error)
type RejectTrainingRescheduleHandler ¶
type RejectTrainingRescheduleHandler struct {
// contains filtered or unexported fields
}
func NewRejectTrainingRescheduleHandler ¶
func NewRejectTrainingRescheduleHandler(repo training.Repository) RejectTrainingRescheduleHandler
func (RejectTrainingRescheduleHandler) Handle ¶
func (h RejectTrainingRescheduleHandler) Handle(ctx context.Context, cmd RejectTrainingReschedule) (err error)
type RequestTrainingRescheduleHandler ¶
type RequestTrainingRescheduleHandler struct {
// contains filtered or unexported fields
}
func NewRequestTrainingRescheduleHandler ¶
func NewRequestTrainingRescheduleHandler(repo training.Repository) RequestTrainingRescheduleHandler
func (RequestTrainingRescheduleHandler) Handle ¶
func (h RequestTrainingRescheduleHandler) Handle(ctx context.Context, cmd RequestTrainingReschedule) (err error)
type RescheduleTraining ¶
type RescheduleTrainingHandler ¶
type RescheduleTrainingHandler struct {
// contains filtered or unexported fields
}
func NewRescheduleTrainingHandler ¶
func NewRescheduleTrainingHandler(repo training.Repository, userService UserService, trainerService TrainerService) RescheduleTrainingHandler
func (RescheduleTrainingHandler) Handle ¶
func (h RescheduleTrainingHandler) Handle(ctx context.Context, cmd RescheduleTraining) (err error)
type ScheduleTraining ¶
type ScheduleTrainingHandler ¶
type ScheduleTrainingHandler struct {
// contains filtered or unexported fields
}
func NewScheduleTrainingHandler ¶
func NewScheduleTrainingHandler(repo training.Repository, userService UserService, trainerService TrainerService) ScheduleTrainingHandler
func (ScheduleTrainingHandler) Handle ¶
func (h ScheduleTrainingHandler) Handle(ctx context.Context, cmd ScheduleTraining) (err error)
type TrainerService ¶
Click to show internal directories.
Click to hide internal directories.