Documentation ¶
Overview ¶
Package echomiddleware is a selection of middleware functions that can be used in Labstack Echo-based services
Package echomiddleware is a selection of middleware functions that can be used in Labstack Echo-based services
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeToken ¶
func DecodeToken(next echo.HandlerFunc) echo.HandlerFunc
DecodeToken decodes the base64 encoded token passed to the API
func Xray ¶
func Xray(serviceName string) echo.MiddlewareFunc
Xray is a harness that wraps all API calls with an X-Ray handler. serviceName is passed in to mark those X-Ray calls as being a part of a particular service.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.