Versions in this module Expand all Collapse all v0 v0.2.0 Aug 12, 2019 v0.1.0 Jul 5, 2019 Changes in this version + type Cors struct + Log Logger + func AllowAll() *Cors + func Default() *Cors + func New(options Options) *Cors + func (c *Cors) Handler(h fasthttp.RequestHandler) fasthttp.RequestHandler + type Logger interface + Printf func(string, ...interface{}) + type Options struct + AllowCredentials bool + AllowOriginFunc func(origin string) bool + AllowOriginRequestFunc func(ctx *fasthttp.RequestCtx, origin string) bool + AllowedHeaders []string + AllowedMethods []string + AllowedOrigins []string + Debug bool + ExposedHeaders []string + MaxAge int + OptionsPassthrough bool