Documentation ¶
Overview ¶
Package echo has functions to use with echo (https://echo.labstack.com).
import ctxecho "github.com/mvndaai/ctxerr/http/framework/echo" func main() { ... e.HTTPErrorHandler = ctxecho.ErrorHandler(config.ShowMessage, config.ShowFields) ... }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
ErrorHandler implements an echo Custom HTTP Error Handler. This uses the ctxerr/http package to return a standardized response. See https://echo.labstack.com/guide/error-handling for more information on error handlers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.