Versions in this module Expand all Collapse all v1 v1.0.2 Aug 22, 2022 v1.0.1 Aug 11, 2022 Changes in this version + func Middleware(tr opentracing.Tracer, h http.Handler, options ...MWOption) http.Handler + func MiddlewareFunc(tr opentracing.Tracer, h http.HandlerFunc, options ...MWOption) http.HandlerFunc + type ClientOption func(*clientOptions) + func ClientSpanObserver(f func(span opentracing.Span, r *http.Request)) ClientOption + func ClientTrace(enabled bool) ClientOption + func ComponentName(componentName string) ClientOption + func InjectSpanContext(enabled bool) ClientOption + func OperationName(operationName string) ClientOption + func URLTagFunc(f func(u *url.URL) string) ClientOption + type MWOption func(*mwOptions) + func MWComponentName(componentName string) MWOption + func MWSpanFilter(f func(r *http.Request) bool) MWOption + func MWSpanObserver(f func(span opentracing.Span, r *http.Request)) MWOption + func MWURLTagFunc(f func(u *url.URL) string) MWOption + func OperationNameFunc(f func(r *http.Request) string) MWOption + type Tracer struct + func TraceRequest(tr opentracing.Tracer, req *http.Request, options ...ClientOption) (*http.Request, *Tracer) + func TracerFromRequest(req *http.Request) *Tracer + func (h *Tracer) Finish() + func (h *Tracer) Span() opentracing.Span + type Transport struct + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)