context

package
v1.3.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextForAsyncTracing

func NewContextForAsyncTracing(ctx context.Context) context.Context

NewContextForAsyncTracing create a ctx for async work tracing. In order to trace, ctx must be passed in, while in async work load, ctx is passed in and then be canceled by parent, async work is canceled too. So we must create a new ctx with the same tracing-info but remove cancel ctx.

Types

This section is empty.

Jump to

Keyboard shortcuts

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