Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateArticleCommand ¶
CreateArticleCommand Command to create an article
type CreateArticleCommandHandler ¶
type CreateArticleCommandHandler struct {
RabbitRepo rabbit.RabbitRepository
}
CreateArticleCommandHandler allows to create an article
func NewCreateArticleCommandHandler ¶
func NewCreateArticleCommandHandler(repo rabbit.RabbitRepository) *CreateArticleCommandHandler
NewCreateArticleCommandHandler Creates an instance
type UpdateArticleCommand ¶
UpdateArticleCommand Command to create an article
type UpdateArticleCommandHandler ¶
type UpdateArticleCommandHandler struct {
RabbitRepo rabbit.RabbitRepository
}
UpdateArticleCommandHandler allows to update an article
func NewUpdateArticleCommandHandler ¶
func NewUpdateArticleCommandHandler(repo rabbit.RabbitRepository) *UpdateArticleCommandHandler
NewUpdateArticleCommandHandler Creates an instance
Click to show internal directories.
Click to hide internal directories.