Source File
nonrecording.go
Belonging Package
go.opentelemetry.io/otel/trace
// Copyright The OpenTelemetry Authors// SPDX-License-Identifier: Apache-2.0package trace // import "go.opentelemetry.io/otel/trace"// nonRecordingSpan is a minimal implementation of a Span that wraps a// SpanContext. It performs no operations other than to return the wrapped// SpanContext.type nonRecordingSpan struct {noopSpansc SpanContext}// SpanContext returns the wrapped SpanContext.func ( nonRecordingSpan) () SpanContext { return .sc }
![]() |
The pages are generated with Golds v0.8.2. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |