package embedded
Import Path
go.opentelemetry.io/otel/trace/embedded (on go.dev)
Dependency Relation
imports 0 packages, and imported by one package
Involved Source Files
Package embedded provides interfaces embedded within the [OpenTelemetry
trace API].
Implementers of the [OpenTelemetry trace API] can embed the relevant type
from this package into their implementation directly. Doing so will result
in a compilation error for users when the [OpenTelemetry trace API] is
extended (which is something that can happen without a major version bump of
the API package).
[OpenTelemetry trace API]: https://pkg.go.dev/go.opentelemetry.io/otel/trace
Package-Level Type Names (total 3, all are exported)
Span is embedded in [go.opentelemetry.io/otel/trace.Span].
Embed this interface in your implementation of the
[go.opentelemetry.io/otel/trace.Span] if you want users to experience a
compilation error, signaling they need to update to your latest
implementation, when the [go.opentelemetry.io/otel/trace.Span] interface is
extended (which is something that can happen without a major version bump of
the API package).
( Span) span()
go.opentelemetry.io/otel/trace.Span (interface)
go.opentelemetry.io/otel/trace.nonRecordingSpan
go.opentelemetry.io/otel/trace.noopSpan
Tracer is embedded in [go.opentelemetry.io/otel/trace.Tracer].
Embed this interface in your implementation of the
[go.opentelemetry.io/otel/trace.Tracer] if you want users to experience a
compilation error, signaling they need to update to your latest
implementation, when the [go.opentelemetry.io/otel/trace.Tracer] interface
is extended (which is something that can happen without a major version bump
of the API package).
( Tracer) tracer()
go.opentelemetry.io/otel/trace.Tracer (interface)
go.opentelemetry.io/otel/trace.noopTracer
TracerProvider is embedded in
[go.opentelemetry.io/otel/trace.TracerProvider].
Embed this interface in your implementation of the
[go.opentelemetry.io/otel/trace.TracerProvider] if you want users to
experience a compilation error, signaling they need to update to your latest
implementation, when the [go.opentelemetry.io/otel/trace.TracerProvider]
interface is extended (which is something that can happen without a major
version bump of the API package).
( TracerProvider) tracerProvider()
go.opentelemetry.io/otel/trace.TracerProvider (interface)
go.opentelemetry.io/otel/trace.noopTracerProvider
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. |