trace

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ID

func ID(ctx context.Context) string

ID returns traceid provided by WithTraceField and ContextWithTrace helpers.

func RandID

func RandID() string

RandID returns random traceID in uuid format.

func SetID

func SetID(ctx context.Context, traceid string) (context.Context, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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