Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSimpleW3CFormatParser = SimpleW3CFormatParser{}
Functions ¶
This section is empty.
Types ¶
type SimpleW3CFormatParser ¶
type SimpleW3CFormatParser struct{}
SimpleW3CFormatParser is a simple w3c format parser which ignores many format constraint
func (SimpleW3CFormatParser) ParseTraceParent ¶
func (w SimpleW3CFormatParser) ParseTraceParent(traceParent string) (TraceParent, error)
ParseTraceParent parse format like 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01-suffix
func (SimpleW3CFormatParser) ParseTraceState ¶
func (w SimpleW3CFormatParser) ParseTraceState(traceState string) (TraceState, error)
ParseTraceState ignores key value format constraint. All k-v pair will be accepted By specification traceState should be parsed through
type TraceParent ¶
type TraceState ¶
type TraceState struct {
Members []Member
}
func (*TraceState) GetAppID ¶
func (t *TraceState) GetAppID() string
func (*TraceState) GetOrigin ¶
func (t *TraceState) GetOrigin() string
Click to show internal directories.
Click to hide internal directories.