Help us shape the future of Go! Take the 2026 Go Developer Survey

grpcutil

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParentSpanForRequest

func GetParentSpanForRequest(tracer opentracing.Tracer, req *httpgrpc.HTTPRequest) (opentracing.SpanContext, error)

Types

type HttpgrpcHeadersCarrier

type HttpgrpcHeadersCarrier httpgrpc.HTTPRequest

Used to transfer trace information from/to HTTP request.

func (*HttpgrpcHeadersCarrier) ForeachKey

func (c *HttpgrpcHeadersCarrier) ForeachKey(handler func(key, val string) error) error

func (*HttpgrpcHeadersCarrier) Set

func (c *HttpgrpcHeadersCarrier) Set(key, val string)

Jump to

Keyboard shortcuts

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