requestid

package
v0.0.0-...-417428f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithClientTraceID

func ContextWithClientTraceID(ctx context.Context, clientTraceID string) context.Context

func Interceptor

func Interceptor() grpc.UnaryClientInterceptor

Types

type RequestIDs

type RequestIDs struct {
	ClientTraceID   string
	ClientRequestID string
	ServerRequestID string
	ServerTraceID   string
}

func RequestIDsFromError

func RequestIDsFromError(err error) (*RequestIDs, bool)

Jump to

Keyboard shortcuts

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