Documentation ¶
Index ¶
- type ArticleHandler
- func (h *ArticleHandler) GetArticle(c echo.Context) error
- func (h *ArticleHandler) ListArticles(c echo.Context) error
- func (h *ArticleHandler) UnpublishArticle(c echo.Context) error
- func (h *ArticleHandler) UpdateArticle(c echo.Context) error
- func (h *ArticleHandler) WriteArticle(c echo.Context) error
- type CommentHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleHandler ¶
type ArticleHandler struct {
// contains filtered or unexported fields
}
func NewArticleHandler ¶
func NewArticleHandler(publisher *services.ArticlePublisher, manager *profileManager.ProfileManager, central *followerCentral.FollowerCentral) *ArticleHandler
func (*ArticleHandler) GetArticle ¶
func (h *ArticleHandler) GetArticle(c echo.Context) error
func (*ArticleHandler) ListArticles ¶
func (h *ArticleHandler) ListArticles(c echo.Context) error
func (*ArticleHandler) UnpublishArticle ¶
func (h *ArticleHandler) UnpublishArticle(c echo.Context) error
func (*ArticleHandler) UpdateArticle ¶
func (h *ArticleHandler) UpdateArticle(c echo.Context) error
func (*ArticleHandler) WriteArticle ¶
func (h *ArticleHandler) WriteArticle(c echo.Context) error
type CommentHandler ¶
type CommentHandler struct {
// contains filtered or unexported fields
}
func NewCommentHandler ¶
func NewCommentHandler(publisher *services.CommentPublisher, articlePublisher *services.ArticlePublisher, manager *profileManager.ProfileManager, central *followerCentral.FollowerCentral) *CommentHandler
func (*CommentHandler) DeleteComment ¶
func (h *CommentHandler) DeleteComment(c echo.Context) error
func (*CommentHandler) ListComments ¶
func (h *CommentHandler) ListComments(c echo.Context) error
func (*CommentHandler) WriteComment ¶
func (h *CommentHandler) WriteComment(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.