trace

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsXrayFromContext

func AwsXrayFromContext(ctx context.Context) string

AwsXrayFromContext returns an AWS Xray ID that was previously added into the context, if any.

func AwsXrayNewContext

func AwsXrayNewContext(ctx context.Context, xrayID string) context.Context

AwsXrayNewContext adds the AWS Xray ID string into the context and returns the new context

func FromContext

func FromContext(ctx context.Context) uuid.UUID

FromContext returns a traceID that was previously added into the context, if any.

func NewContext

func NewContext(ctx context.Context, traceID uuid.UUID) context.Context

NewContext adds the traceID string into the context and returns the new context

Types

This section is empty.

Jump to

Keyboard shortcuts

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