Documentation ¶
Index ¶
- func ErrorResponse(ctx *gin.Context, stCode int, message string)
- func IndexHandler(c *gin.Context)
- type Handler
- func (h *Handler) CreateArticle(ctx *gin.Context)
- func (h *Handler) DeleteArticle(ctx *gin.Context)
- func (h *Handler) GetAllArticles(ctx *gin.Context)
- func (h *Handler) GetOneArticle(ctx *gin.Context)
- func (h *Handler) NewRouter() *gin.Engine
- func (h *Handler) SingIn(ctx *gin.Context)
- func (h *Handler) SingUp(ctx *gin.Context)
- func (h *Handler) UpdateArticle(ctx *gin.Context)
- func (h *Handler) UserIdentification(ctx *gin.Context)
- type Index
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexHandler ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) CreateArticle ¶
func (*Handler) DeleteArticle ¶
func (*Handler) GetAllArticles ¶
func (*Handler) GetOneArticle ¶
func (*Handler) UpdateArticle ¶
func (*Handler) UserIdentification ¶
Click to show internal directories.
Click to hide internal directories.