Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RandomID ¶ added in v0.17.0
type RandomID [16]byte
func NewRandomID ¶ added in v0.17.0
func NewRandomID() RandomID
func (RandomID) IsValid ¶ added in v0.17.0
IsValid checks whether the trace TraceID is valid. A valid trace ID does not consist of zeros only.
func (RandomID) MarshalJSON ¶ added in v0.17.0
MarshalJSON implements a custom marshal function to encode TraceID as a hex string.
Click to show internal directories.
Click to hide internal directories.