type go.opentelemetry.io/otel/trace.TraceState
21 uses
go.opentelemetry.io/otel/trace (current package)
trace.go#L193: TraceState TraceState
trace.go#L214: traceState TraceState
trace.go#L306: func (sc SpanContext) TraceState() TraceState {
trace.go#L311: func (sc SpanContext) WithTraceState(state TraceState) SpanContext {
tracestate.go#L102: type TraceState struct { //nolint:revive // revive complains about stutter of `trace.TraceState`
tracestate.go#L107: var _ json.Marshaler = TraceState{}
tracestate.go#L112: func ParseTraceState(tracestate string) (TraceState, error) {
tracestate.go#L114: return TraceState{}, nil
tracestate.go#L130: return TraceState{}, wrapErr(err)
tracestate.go#L134: return TraceState{}, wrapErr(errDuplicate)
tracestate.go#L140: return TraceState{}, wrapErr(errMemberNumber)
tracestate.go#L144: return TraceState{list: members}, nil
tracestate.go#L148: func (ts TraceState) MarshalJSON() ([]byte, error) {
tracestate.go#L155: func (ts TraceState) String() string {
tracestate.go#L165: func (ts TraceState) Get(key string) string {
tracestate.go#L187: func (ts TraceState) Insert(key, value string) (TraceState, error) {
tracestate.go#L206: func (ts TraceState) Delete(key string) TraceState {
tracestate.go#L216: return TraceState{list: members}
tracestate.go#L220: func (ts TraceState) Len() int {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |