omux

package module
v0.0.0-...-0e8f8b2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 4 Imported by: 0

README

omux

A simple opentracing middleware for gorilla/mux.

This middleware automatically reads incoming HTTP headers and generates a Span from them if opentracing headers are present. If not headers are found, it starts a new Trace.

Documentation

Index

Constants

View Source
const (
	UnknownMuxRoute = "UNKNOWN"
)

Variables

This section is empty.

Functions

func TracingMiddleware

func TracingMiddleware(next http.HandlerFunc) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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