middleware

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTracingSpanToRequest added in v0.0.2

func AddTracingSpanToRequest(ctx context.Context, r *http.Request)

AddTracingSpanToRequest resolves span data from the provided context and injects it to the request

func OpencensusTracing

func OpencensusTracing() func(next http.Handler) http.Handler

OpencensusTracing implements a simple middleware handler for adding an opencensus tracing span to the request context

Types

This section is empty.

Jump to

Keyboard shortcuts

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