tracecommon

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSpanID

func NewSpanID() string

NewSpanID generates a semi-random span ID.

func NewTraceID

func NewTraceID() string

NewTraceID generates a semi-random trace ID.

func SetHeaderStr

func SetHeaderStr(headers http.Header, header, value string)

SetHeaderStr sets header for given header set, if given value is not empty. Input headers object must not be nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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