Package Usage: go: github.com/rs/cors
Package cors is net/http handler to handle CORS related requests
as defined by http://www.w3.org/TR/cors/
You can configure it by passing an option struct to cors.New:
Then insert the handler in the chain:
See Options documentation for more options.
The resulting handler is a standard net/http handler.
14 versions
Latest release: almost 2 years ago
11,242 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/rs/cors
Dependent Repos 4
swh/infra/ci-cd/3rdparty/alertmanager-irc-relay
Last synced: 9 months ago - Pushed: about 1 year ago
ANSSI-FR/ultrablue
User-friendly Lightweight TPM Remote Attestation over BluetoothSize: 3.87 MB - Last synced: 2 days ago - Pushed: over 2 years ago
