Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" )
Variables ¶
This section is empty.
Functions ¶
func CorsMiddleware ¶
func CorsMiddleware(origin string) echo.MiddlewareFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.