Versions in this module Expand all Collapse all v0 v0.0.1 Sep 6, 2022 Changes in this version + const AccessControlAllowCredentials + const AccessControlAllowHeaders + const AccessControlAllowMethods + const AccessControlAllowOrigin + const AccessControlExposeHeaders + type Cors struct + AllowCredentials []string + AllowHeaders []string + AllowMethods []string + AllowOrigin []string + ExposeHeaders []string + Host map[string][]string + Method map[string][]string + func New() *Cors + func (c *Cors) Cors() aurora.Middleware + func (c *Cors) Domain(method string, url ...string) + func (c *Cors) Origin(host string, method ...string)