-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace WithCorsMiddleware by WithGlobalMiddleware (#325) * refactor: move accept header form mux to server options * replace withcoresmiddleware by globalmiddleware * remove cors middle ware form server structure * Update serve.go * Update server.go * Fixes tests and formatting * Add more tests and documentation for global middlewares * Update documentation/docs/guides/middlewares.md Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> * Update documentation/docs/guides/middlewares.md Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> * Update documentation/docs/guides/middlewares.md Co-authored-by: Dylan Hitt <dylan.hitt1@gmail.com> --------- Co-authored-by: Ekuma Matthew <79433184+ekumamatthew@users.noreply.github.com> Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> Co-authored-by: Dylan Hitt <dylan.hitt1@gmail.com>
- Loading branch information
1 parent
7e11551
commit 6752f86
Showing
5 changed files
with
168 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters