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 ¶
* 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.
Click to show internal directories.
Click to hide internal directories.