An open API service indexing awesome lists of open source software.

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!

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