Documentation ¶
Index ¶
Constants ¶
View Source
const ( RECOVERY string = "recovery" CORS string = "cors" )
外部可以用
Variables ¶
View Source
var Middlewares = map[string]gin.HandlerFunc{ "recovery": Recovery(), "cors": Cors(), }
Functions ¶
func Cors ¶
func Cors() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.