Back to

Package hnyecho

Latest Go to latest

The highest tagged major version is .

Published: Oct 8, 2020 | License: Apache-2.0 | Module:


Package hnyecho has middleware to use with the Echo router.


hnyecho provides Honeycomb instrumentation for the Echo router via middleware. It is recommended to put this middleware first in the chain via Echo.Use(). A Honeycomb event will be generated for every request that comes through your Echo router, with basic http fields added. In addition, route related fields will be added for that request route.

For a complete example showing this wrapper in use, please see the examples in


type EchoWrapper

type EchoWrapper struct {
	// contains filtered or unexported fields

EchoWrapper provides Honeycomb instrumentation for the Echo router via middleware

func New

func New() *EchoWrapper

New returns a new EchoWrapper struct

func (*EchoWrapper) Middleware

func (e *EchoWrapper) Middleware() echo.MiddlewareFunc

Middleware returns an echo.MiddlewareFunc to be used with Echo.Use()

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier