Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadArticleQuery ¶
type ReadArticleQuery struct {
AggregateArticleID string `json:"aggregate_article_id"`
}
ReadArticleQuery Query to get one article
type ReadArticleQueryHandler ¶
type ReadArticleQueryHandler struct {
Repo elasticsearch.ElasticRepository
}
ReadArticleQueryHandler allows to get article
func NewReadArticleQueryHandler ¶
func NewReadArticleQueryHandler(repo elasticsearch.ElasticRepository) *ReadArticleQueryHandler
NewReadArticleQueryHandler Creates an instance
Click to show internal directories.
Click to hide internal directories.