Documentation ¶
Index ¶
- func CheckHeaderParams(name string, v *string, ctx *gin.Context) bool
- func CheckHeaderParamsWithErrorMsg(name string, v *string, errorMsg string, ctx *gin.Context) bool
- func CheckParamsWithErrorMsg(name string, str string, v *string, errorMsg string, ctx *gin.Context) bool
- func CheckPostFormParams(name string, v *string, ctx *gin.Context) bool
- func CheckPostFormParamsWithErrorMsg(name string, v *string, errorMsg string, ctx *gin.Context) bool
- func CheckQueryParams(name string, v *string, ctx *gin.Context) bool
- func CheckQueryParamsWithErrorMsg(name string, v *string, errorMsg string, ctx *gin.Context) bool
- func PostFormArray(ctx *gin.Context, name string) []string
- func QueryArray(ctx *gin.Context, name string) []string
- func SendJSON(ctx *gin.Context, data interface{})
- func ShouldBind(ctx *gin.Context, data interface{}) bool
- func ShouldBindAndValidate(ctx *gin.Context, data interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckParamsWithErrorMsg ¶
func ShouldBind ¶
func ShouldBindAndValidate ¶ added in v0.0.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.