tracerutil

package
v0.0.0-...-60fa1ee Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2016 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