Documentation
¶
Index ¶
Constants ¶
View Source
const ( AccessControlAllowOrigin = "Access-Control-Allow-Origin" AccessControlAllowHeaders = "Access-Control-Allow-Headers" AccessControlAllowMethods = "Access-Control-Allow-Methods" AccessControlExposeHeaders = "Access-Control-Expose-Headers" AccessControlAllowCredentials = "Access-Control-Allow-Credentials" )
Variables ¶
This section is empty.
Functions ¶
func Cors ¶
func Cors() gin.HandlerFunc
func Recover ¶
func Recover(recoveryFunc gin.RecoveryFunc) gin.HandlerFunc
Types ¶
type Middleware ¶
type Middleware struct { }
type PanicExceptionRecord ¶
type PanicExceptionRecord struct { }
Click to show internal directories.
Click to hide internal directories.