Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCollaboratorHandler ¶
type AddCollaboratorHandler struct {
// contains filtered or unexported fields
}
func NewAddCollaboratorHandler ¶
func NewAddCollaboratorHandler(repository coursesRepository, service academicsService) AddCollaboratorHandler
func (AddCollaboratorHandler) Handle ¶
func (h AddCollaboratorHandler) Handle(ctx context.Context, cmd app.AddCollaboratorCommand) error
type AddStudentHandler ¶
type AddStudentHandler struct {
// contains filtered or unexported fields
}
func NewAddStudentHandler ¶
func NewAddStudentHandler(repository coursesRepository, service academicsService) AddStudentHandler
func (AddStudentHandler) Handle ¶
func (h AddStudentHandler) Handle(ctx context.Context, cmd app.AddStudentCommand) error
type AddTaskHandler ¶
type AddTaskHandler struct {
// contains filtered or unexported fields
}
func NewAddTaskHandler ¶
func NewAddTaskHandler(repository coursesRepository) AddTaskHandler
func (AddTaskHandler) Handle ¶
func (h AddTaskHandler) Handle(ctx context.Context, cmd app.AddTaskCommand) (taskNumber int, err error)
type CreateCourseHandler ¶
type CreateCourseHandler struct {
// contains filtered or unexported fields
}
func NewCreateCourseHandler ¶
func NewCreateCourseHandler(repository coursesRepository) CreateCourseHandler
func (CreateCourseHandler) Handle ¶
func (h CreateCourseHandler) Handle(ctx context.Context, cmd app.CreateCourseCommand) (courseID string, err error)
type ExtendCourseHandler ¶
type ExtendCourseHandler struct {
// contains filtered or unexported fields
}
func NewExtendCourseHandler ¶
func NewExtendCourseHandler(repository coursesRepository) ExtendCourseHandler
func (ExtendCourseHandler) Handle ¶
func (h ExtendCourseHandler) Handle(ctx context.Context, cmd app.ExtendCourseCommand) (extendedCourseID string, err error)
type RemoveCollaboratorHandler ¶
type RemoveCollaboratorHandler struct {
// contains filtered or unexported fields
}
func NewRemoveCollaboratorHandler ¶
func NewRemoveCollaboratorHandler(repository coursesRepository) RemoveCollaboratorHandler
func (RemoveCollaboratorHandler) Handle ¶
func (h RemoveCollaboratorHandler) Handle(ctx context.Context, cmd app.RemoveCollaboratorCommand) error
type RemoveStudentHandler ¶
type RemoveStudentHandler struct {
// contains filtered or unexported fields
}
func NewRemoveStudentHandler ¶
func NewRemoveStudentHandler(repository coursesRepository) RemoveStudentHandler
func (RemoveStudentHandler) Handle ¶
func (h RemoveStudentHandler) Handle(ctx context.Context, cmd app.RemoveStudentCommand) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.