gin

package
v1.1.3-2x1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostJSONValidator

func PostJSONValidator(c *gin.Context)

PostJSONValidator validates a valid JSON in gin.Context

func Recovery

Recovery returns a gin.HandlerFunc having recovery solution

func Timeout

func Timeout(t time.Duration) func(c *gin.Context)

Timeout is experimental, and not finished yet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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