package
1.8.0
Repository: https://github.com/entropyx/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

NewServeMux allocates and returns an http.ServeMux augmented with the global tracer.
WithAfter adds a RoundTripperAfterFunc to the RoundTripper config.
WithBefore adds a RoundTripperBeforeFunc to the RoundTripper config.
WithServiceName sets the given service name for the returned ServeMux.
WrapClient modifies the given client's transport to augment it with tracing and returns it.
WrapHandler wraps an http.Handler with tracing using the given service and resource.
WrapRoundTripper returns a new RoundTripper which traces all requests sent over the transport.

# Structs

ServeMux is an HTTP request multiplexer that traces all the incoming requests.

# Type aliases

MuxOption represents an option that can be passed to NewServeMux.
A RoundTripperAfterFunc can be used to modify a span after an http RoundTrip is made.
A RoundTripperBeforeFunc can be used to modify a span before an http RoundTrip is made.
A RoundTripperOption represents an option that can be passed to WrapRoundTripper.