echomiddleware

package
v4.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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