package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Feb 13, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Allow enables CORS for requests those match the provided options.
Options represents Access Control options.
Header converts options into CORS headers.
IsOriginAllowed looks up if the origin matches one of the patterns
generated from Options.AllowOrigins patterns.
PreflightHeader converts options into CORS headers for a preflight response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.