gin

package
v1.2.27-betax8 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BodyReaderNop added in v1.2.15

func BodyReaderNop(c *gin.Context)

func GetHealthHandlerWithDB added in v1.2.2

func GetHealthHandlerWithDB(db *sql.DB) gin.HandlerFunc

func Health added in v1.2.2

func Health(c *gin.Context)

func PostJSONValidator

func PostJSONValidator(c *gin.Context)

PostJSONValidator validates a valid JSON in gin.Context

func Recovery

func Recovery(l logging.ILogWriter) gin.HandlerFunc

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