package
0.0.0-20241210120417-267161374232
Repository: https://github.com/avisiedo/go-microservice-1.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
InitOpenAPIFormats configure the admited formats in the openapi specification.
See: https://github.com/labstack/echo/pull/1502/files This method exist for v5 echo framework.
No description provided by the author
NewAuthenticator create an authenticator for the public API.
Nooperation is a middleware that do nothing.
RequestResponseValidator returns a middleware which validates the HTTP response.
No description provided by the author
SLogMiddlewareWithConfig create a middleware for logging config provides.
SLogRequest write a log entry with the request information.

# Variables

DefaultNooperation is a default instance for Nooperation middleware.
DefaultRequestResponseValidatorConfig is the default RequestResponseValidator middleware config.

# Structs

No description provided by the author
No description provided by the author
In order to validate a response, we need to have access to the bytes of the response.
SLogMiddlewareConfig hold the configuration for the echo slog middleware.