v1

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL