tracerutil

package
v0.0.0-...-3a34b34 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package tracerutil provides helpers for tracing various components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnaryInterceptor

func NewUnaryInterceptor(tr opentracing.Tracer) func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

Types

type GRPCTextMapCarrier

type GRPCTextMapCarrier map[string][]string

func (GRPCTextMapCarrier) ForeachKey

func (g GRPCTextMapCarrier) ForeachKey(handler func(key, val string) error) error

func (GRPCTextMapCarrier) Set

func (g GRPCTextMapCarrier) Set(k, v string)

Jump to

Keyboard shortcuts

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