package
Version:
v0.0.0-...-62f6d87
Opens a new window with list of versions in this module.
Published: May 6, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
package trace provides a wrapper around third party tracing
libraries.
SetTraceFunction sets StartSpan to call the given function to start
a trace span.
type Span interface {
End()
}
Span is an interface for a type that ends a span.
If SetTraceFunction has been called, StartSpan uses its given
function to start a span. Otherwise it does nothing.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.