echo

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package echo provides a default translator for the echo server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHandler

func DefaultHandler() echo.HTTPErrorHandler

DefaultHandler uses the default translator

func Handler

func Handler(translator errors.Translator) echo.HTTPErrorHandler

Handler returns an echo Error Handler

func Translator

func Translator(err error) errors.HTTPError

Translator allows translating echo errors

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL