otmux

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2018 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectTracer

func InjectTracer(params TracingParams)

InjectTracer injects the tracer into every route of the router.

Make sure to invoke it after all routes are registered.

Types

type TracingParams

type TracingParams struct {
	fx.In

	Router  *mux.Router
	Tracer  opentracing.Tracer
	Options []nethttp.MWOption `group:"default"`
}

Jump to

Keyboard shortcuts

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