Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustHaveQueryParam ¶
func MustHaveQueryParam(method string, params ...string) gin.HandlerFunc
MustHaveQueryParam is a middleware checking if the provided parameters exist in the request or not. The method indicates the position to find parameters.
If any parameter doesn't exist, it will respond a http BadRequest immediately.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.