Documentation
¶
Index ¶
- func AbortWithStatusJSON(c *gin.Context)
- func BadGateway(c *gin.Context, err error)
- func InternalServerError(c *gin.Context, err error)
- func Json(w *http.ResponseWriter, status int, data interface{})
- func NotFound(c *gin.Context, err error)
- func Success(c *gin.Context, message string, data interface{})
- func UnprocessableEntity(c *gin.Context, errors map[string][]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbortWithStatusJSON ¶
func BadGateway ¶
func InternalServerError ¶
func Json ¶
func Json(w *http.ResponseWriter, status int, data interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.