intercept

package
v0.0.0-...-50cddeb Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableGRPCTracingDialOption = grpc.WithUnaryInterceptor(grpc.UnaryClientInterceptor(clientInterceptor))

EnableGRPCTracingDialOption enables tracing of requests that are sent over a gRPC connection. Modified version of: https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/trace/trace.go#L242-L265

Functions

func EnableGRPCTracingServerOption

func EnableGRPCTracingServerOption(traceClient *trace.Client) grpc.ServerOption

EnableGRPCTracingServerOption enables parsing google trace header from metadata and adds a new child span to the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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