Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
Middleware ...
func NewMiddleware ¶
func NewMiddleware(logger logger.Logger) *Middleware
NewMiddleware will create new an Middleware object
func (*Middleware) Logger ¶
func (m *Middleware) Logger() echo.MiddlewareFunc
func (*Middleware) RequestID ¶
func (m *Middleware) RequestID() echo.MiddlewareFunc
RequestID will search for a correlation header and set a request-level correlation id into the context. If no header is found, a new UUID will be generated.
Click to show internal directories.
Click to hide internal directories.