//
pkg.gl
Category
github.com/go-ozzo/ozzo-routing/v2
cors
package
2.4.0
Repository:
https://github.com/go-ozzo/ozzo-routing.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
14
Files
163 SLOC
#
Functions
Handler
Handler creates a routing handler that adds appropriate CORS headers according to the specified options and the request.
#
Variables
AllowAll
AllowAll is the option that allows all origins, headers, and methods.
#
Structs
Options
Options specifies how the CORS handler should respond with appropriate CORS headers.