trace

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnaryServerInterceptor

func UnaryServerInterceptor(traceField, traceHeaderKey string) grpc.UnaryServerInterceptor

UnaryServerInterceptor intercepts a GRPC server response and inject the trace ID. traceField is used to inject traceID to log traceHeaderKey is metadata header key for traceID

Types

This section is empty.

Jump to

Keyboard shortcuts

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