tracer

package
v1.323.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamClientInterceptor

func StreamClientInterceptor(t trace.Tracer) grpc.StreamClientInterceptor

StreamClientInterceptor for tracer.

func StreamServerInterceptor

func StreamServerInterceptor(t trace.Tracer) grpc.StreamServerInterceptor

StreamServerInterceptor for tracer.

func UnaryClientInterceptor

func UnaryClientInterceptor(t trace.Tracer) grpc.UnaryClientInterceptor

UnaryClientInterceptor for tracer.

func UnaryServerInterceptor

func UnaryServerInterceptor(t trace.Tracer) grpc.UnaryServerInterceptor

UnaryServerInterceptor for tracer.

Types

type Carrier added in v1.172.1

type Carrier struct {
	Metadata metadata.MD
}

Carrier for tracer.

func (*Carrier) Get added in v1.172.1

func (s *Carrier) Get(key string) string

Get returns the value associated with the passed key.

func (*Carrier) Keys added in v1.172.1

func (s *Carrier) Keys() []string

Keys lists the keys stored in this carrier.

func (*Carrier) Set added in v1.172.1

func (s *Carrier) Set(key string, value string)

Set stores the key-value pair.

Jump to

Keyboard shortcuts

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