Documentation ¶
Index ¶
- func BusinessFail(c *gin.Context, msg string)
- func Fail(c *gin.Context, errorCode int, msg string)
- func FailByError(c *gin.Context, error global.CustomError)
- func ServerError(c *gin.Context, err interface{})
- func Success(c *gin.Context, data interface{})
- func TokenFail(c *gin.Context)
- func ValidateFail(c *gin.Context, msg string)
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BusinessFail ¶
func FailByError ¶
func FailByError(c *gin.Context, error global.CustomError)
func ServerError ¶
func ValidateFail ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.