middleware

package
v0.0.0-...-6279077 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CorsHandler

func CorsHandler(router *gin.Engine) gin.HandlerFunc

* this is for cors handler if the request consuming from web

func GlobalHandler

func GlobalHandler(c *gin.Context)

* this is global filter will log the request and also the response the log is already with the struct if you want to pass to the other thirdpary like new relic or datadog you can create handler for send the log to them

Types

This section is empty.

Jump to

Keyboard shortcuts

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