middleware

package module
v0.0.0-...-5c12a3f Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 11 Imported by: 0

README

middleware

collection of useful go-kit middlewares

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentGRPC

func InstrumentGRPC(methodName string) endpoint.Middleware

InstrumentGRPC adds basic RED metrics on all endpoints. The transport layer (gRPC, AMQP, HTTP, ...) should also have metrics attached and will then take care of monitoring gRPC endpoints including their status.

func InstrumentZipkin

func InstrumentZipkin() endpoint.Middleware

func Logging

func Logging(logger log.Logger, endpointName string) endpoint.Middleware

func RequestID

func RequestID() endpoint.Middleware

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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