Documentation ¶
Index ¶
Constants ¶
View Source
const (
// JWT_CLAIMS is a key to get the claims parsed by the Protect middleware in echo.Context.
JWT_CLAIMS = "JWT_CLAIMS"
)
View Source
const (
// REQUEST_ID_LENGTH is the length of each request id.
REQUEST_ID_LENGTH = 12
)
Variables ¶
This section is empty.
Functions ¶
func Logger ¶
func Logger() echo.MiddlewareFunc
Logger is a middleware that logs the request and response basic information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.