Versions in this module Expand all Collapse all v1 v1.0.0 Jun 2, 2021 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