https://github.com/paemuri/fastcors
CORS middleware for Go fasthttp!
https://github.com/paemuri/fastcors
cors fasthttp go golang
Last synced: 5 months ago
JSON representation
CORS middleware for Go fasthttp!
- Host: GitHub
- URL: https://github.com/paemuri/fastcors
- Owner: paemuri
- License: unlicense
- Created: 2021-02-28T21:15:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-04T16:27:13.000Z (almost 5 years ago)
- Last Synced: 2026-01-14T14:57:58.895Z (5 months ago)
- Topics: cors, fasthttp, go, golang
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fast CORS
[![License][badge-1-img]][badge-1-link]
[![go.dev][badge-2-img]][badge-2-link]
[![Go Report Card][badge-3-img]][badge-3-link]
CORS middleware for [fasthttp][1] server. This project is under
construction and shouldn't be used in production environment yet.
This lib is inspired by [rs/cors][2] and
[AdhityaRamadhanus/fasthttpcors][3].
## To-do
- [ ] Improve documentation
- [ ] Improve tests
## License
This project code is in the public domain. See the [LICENSE file][4].
The only exception is the `lib/` folder:
- `lib/cors/` contains code from [rs/cors][2] and its license.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you shall be in the public
domain, without any additional terms or conditions.
[1]: https://github.com/valyala/fasthttp
[2]: https://github.com/rs/cors/
[3]: https://github.com/AdhityaRamadhanus/fasthttpcors
[4]: ./LICENSE
[badge-1-img]: https://img.shields.io/github/license/paemuri/fastcors?style=flat-square
[badge-1-link]: https://github.com/paemuri/fastcors/blob/master/LICENSE
[badge-2-img]: https://img.shields.io/badge/go.dev-reference-007d9c?style=flat-square&logo=go&logoColor=white
[badge-2-link]: https://pkg.go.dev/github.com/paemuri/fastcors
[badge-3-img]: https://goreportcard.com/badge/github.com/paemuri/fastcors?style=flat-square
[badge-3-link]: https://goreportcard.com/report/github.com/paemuri/fastcors