Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleHTTPHandler ¶
ArticleHTTPHandler represents article http handler
func NewArticleHTTPHandler ¶
func NewArticleHTTPHandler(usecase article.Usecase) *ArticleHTTPHandler
NewArticleHTTPHandler return new instances of article http handler
func (*ArticleHTTPHandler) HandleCreateArticle ¶
func (h *ArticleHTTPHandler) HandleCreateArticle(c echo.Context) error
HandleCreateArticle handle create article
func (*ArticleHTTPHandler) HandleGetAllArticle ¶
func (h *ArticleHTTPHandler) HandleGetAllArticle(c echo.Context) error
HandleGetAllArticle handle get all article
func (*ArticleHTTPHandler) HandleGetArticleByID ¶
func (h *ArticleHTTPHandler) HandleGetArticleByID(c echo.Context) error
HandleGetArticleByID handle get article by id
Click to show internal directories.
Click to hide internal directories.