Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cors ¶
type Cors struct { AllowOrigins []string `cfg:"allow_origins"` AllowMethods []string `cfg:"allow_methods"` AllowHeaders []string `cfg:"allow_headers"` AllowCredentials bool `cfg:"allow_credentials"` UnsafeWildcardOriginWithAllowCredentials bool `cfg:"unsafe_wildcard_origin_with_allow_credentials"` ExposeHeaders []string `cfg:"expose_headers"` MaxAge int `cfg:"max_age"` }
func (*Cors) Middleware ¶
func (c *Cors) Middleware() echo.MiddlewareFunc
Click to show internal directories.
Click to hide internal directories.