Documentation ¶
Index ¶
- func Fail(ctx *gin.Context, code int, msg string, data gin.H)
- func GetFileMd5(file *multipart.FileHeader) string
- func ReleaseToken(user model.User) (string, error)
- func Response(ctx *gin.Context, httpStatus int, code int, data gin.H, msg string)
- func Success(ctx *gin.Context, data gin.H, msg string)
- type Claims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileMd5 ¶
func GetFileMd5(file *multipart.FileHeader) string
Types ¶
Click to show internal directories.
Click to hide internal directories.