gls

package
v0.0.0-...-0f65a33 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: BSD-2-Clause Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTraceInfo

func GetTraceInfo() (traceID string, pSpanID string, spanID string)

func SetGls

func SetGls(traceID, pSpanID, spanID string, cb func())

func SetGlsWithCtx

func SetGlsWithCtx(traceID, pSpanID, spanID string, ctx context.Context, cb func())

func TraceCtx

func TraceCtx() (ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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