Versions in this module Expand all Collapse all v1 v1.12.2 Dec 24, 2020 v1.12.1 Dec 8, 2020 Changes in this version + func Allow(opts *Options) beego.FilterFunc + type Options struct + AllowAllOrigins bool + AllowCredentials bool + AllowHeaders []string + AllowMethods []string + AllowOrigins []string + ExposeHeaders []string + MaxAge time.Duration + func (o *Options) Header(origin string) (headers map[string]string) + func (o *Options) IsOriginAllowed(origin string) (allowed bool) + func (o *Options) PreflightHeader(origin, rMethod, rHeaders string) (headers map[string]string)