package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Mar 16, 2022
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AccessLogger logs the details of the incoming requests and outgoing responses.
Auth middleware verifies if the x-password header in the request matches the one in configs.
CORS middleware handles CORS issues.
Recovery recovers any panics that happen during request execution and returns a sanitized response.
RequestContext attaches information to the request's context, such as: request ID, entry-time etc.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.