ginhttp

package
v0.0.0-...-c583576 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddContextx

func AddContextx() gin.HandlerFunc

AddContextx add custom contextx middleware

func AddContextxWithLogger

func AddContextxWithLogger(logger *zap.Logger) gin.HandlerFunc

AddContextxWithLogger add custom contextx middleware

func AddCors

func AddCors() gin.HandlerFunc

AddCors add cors middleware

func HandleError

func HandleError() gin.HandlerFunc

HandleError global handle *gin.Context error middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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