Discover Packages
github.com/janczizikow/pit
internal
http
middleware
package
Version:
v0.0.0-...-91b10cc
Opens a new window with list of versions in this module.
Published: Oct 26, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
CORS is a middleware that sets
the Access-Control-Allow-Origin and Access-Control-Allow-Headers headers
to "*" for all requests.
This allows all origins to access the API.
Recoverer is a middleware that recovers from panics, logs the error
and returns a HTTP 500 (Internal Server Error) status.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.