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