Documentation ¶
Index ¶
- type SpanID
- type TraceID
- func (u TraceID) AppendQuery(fmter schema.Formatter, b []byte) ([]byte, error)
- func (u TraceID) High() uint64
- func (u TraceID) IsZero() bool
- func (u TraceID) Low() uint64
- func (u TraceID) MarshalBinary() ([]byte, error)
- func (u TraceID) MarshalJSON() ([]byte, error)
- func (u TraceID) MarshalText() ([]byte, error)
- func (u *TraceID) Scan(src any) error
- func (u TraceID) String() string
- func (u *TraceID) UnmarshalBinary(b []byte) error
- func (u *TraceID) UnmarshalJSON(b []byte) error
- func (u *TraceID) UnmarshalText(b []byte) error
- func (u TraceID) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpanID ¶
type SpanID uint64
func ParseSpanID ¶
func RandSpanID ¶
func RandSpanID() SpanID
func SpanIDFromBytes ¶
func SpanIDFromUint64 ¶
func (SpanID) MarshalJSON ¶
func (*SpanID) UnmarshalJSON ¶
type TraceID ¶
type TraceID [traceIDLen]byte
func MustParseTraceID ¶
func ParseTraceID ¶
func ParseTraceIDBytes ¶
func RandTraceID ¶
func RandTraceID() TraceID
func TraceIDFromBytes ¶
func (TraceID) AppendQuery ¶
func (TraceID) MarshalBinary ¶
func (TraceID) MarshalJSON ¶
func (TraceID) MarshalText ¶
func (*TraceID) UnmarshalBinary ¶
func (*TraceID) UnmarshalJSON ¶
func (*TraceID) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.