Documentation ¶
Index ¶
- func BadRequest(ctx *gin.Context, err error)
- func Fail(ctx *gin.Context, err error)
- func Response(ctx *gin.Context, value interface{}, err error)
- func Success(ctx *gin.Context, value interface{}, message interface{})
- func Unauthorized(ctx *gin.Context, err error)
- func UploadSuccess(ctx *gin.Context, value interface{}, message interface{})
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func Unauthorized ¶
func UploadSuccess ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.