Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArticleHandler ¶
ArticleHandler represent the httphandler for article
func (*ArticleHandler) Delete ¶
func (a *ArticleHandler) Delete(c echo.Context) error
Delete will delete article by given param
func (*ArticleHandler) FetchArticle ¶
func (a *ArticleHandler) FetchArticle(c echo.Context) error
FetchArticle will fetch the article based on given params
type ResponseError ¶
type ResponseError struct {
Message string `json:"message"`
}
ResponseError represent the reseponse error struct
Click to show internal directories.
Click to hide internal directories.