Versions in this module Expand all Collapse all v1 v1.4.0 Aug 18, 2014 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)