# Functions
CORS configures echo's CORS middleware with the following default allowed headers for the specified domain: Origin, Content-Type, Accept, Accept-Encoding, Content-Length, Authorization, Cache-Control.
CustomContext wraps the default echo.Context into our own decorated struct, http.Context.
Logger middleware configures echo's built in middleware.RequestLoggerWithConfig middleware.
UUIDRequestID configures echo's built in request id middleware so that the ID generated is an UUIDv4, and the generated request ID is added to the following three parts of the request: - the echo.HeaderXRequestID header, this is by default - echo.Context's own Set method with the RequestIDKey key - request context with key RequestIDKey
Value of the RequestIDKey is "requestID", however for stability, use the exported constant when referring to it.
WithDomains adds additional domains to the CORS middleware as permitted origins besides the one already passed to the middleware constructor.
WithHeaders adds additional header keys that are returned in cross-origin responses besides the ones the CORS middleware already allows.
WithSkipper configures a skipper function for the CORS header.
# Structs
CORSOptions represents configuration options for the CORS middleware to further customize the built-in echo CORS middleware to suit our needs.
# Type aliases
OptionModifier is a type of function that changes values on a CORSOptions struct in place.