Documentation ¶
Index ¶
- Constants
- func JSONStatusBadRequest(c *gin.Context, data interface{})
- func JSONStatusCreated(c *gin.Context, data interface{})
- func JSONStatusNotFound(c *gin.Context, data interface{})
- func JSONStatusOK(c *gin.Context, data interface{})
- func JSONStatusServerError(c *gin.Context, data interface{}, message string, code int)
- func JSONStatusServerMError(c *gin.Context, err error)
- type R
- type Response
Constants ¶
View Source
const ( StatusSuccess = "success" StatusError = "error" StatusFail = "fail" )
Variables ¶
This section is empty.
Functions ¶
func JSONStatusBadRequest ¶
func JSONStatusCreated ¶
func JSONStatusNotFound ¶
func JSONStatusOK ¶
func JSONStatusServerError ¶
func JSONStatusServerMError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.