Source File
passthrough.go
Belonging Package
go.pact.im/x/traces/batchtraces
package batchtracesimport ()type passthrough struct {exp Exporter}// Passthrough returns a [traces.Handler] implementation that immediately// exports each finished span synchronously instead of batching.func ( Exporter) traces.Handler {return &passthrough{exp: }}func ( *passthrough) ( context.Context, traces.Record) error {return .exp.Export(, []traces.Record{})}
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)