Documentation ¶
Index ¶
- Constants
- func NgWithData(data interface{}, message string, c *gin.Context)
- func NgWithMsg(message string, c *gin.Context)
- func OkWithData(data interface{}, message string, c *gin.Context)
- func OkWithMsg(message string, c *gin.Context)
- func Result(code int, data interface{}, msg string, c *gin.Context)
- type CaptchaResponse
- type LoginResp
- type Response
- type UserResp
Constants ¶
View Source
const ( ERROR = iota - 1 SUCCESS )
Variables ¶
This section is empty.
Functions ¶
func NgWithData ¶
func OkWithData ¶
Types ¶
type CaptchaResponse ¶
Click to show internal directories.
Click to hide internal directories.