|
|
@ -52,8 +52,8 @@ func (c *closeTracker) Close() error { |
|
|
|
return err |
|
|
|
return err |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// NewTraceTracesport NewTraceTracesport
|
|
|
|
// NewTraceTransport NewTraceTransport
|
|
|
|
func NewTraceTracesport(rt http.RoundTripper, peerService string, internalTags ...trace.Tag) *TraceTransport { |
|
|
|
func NewTraceTransport(rt http.RoundTripper, peerService string, internalTags ...trace.Tag) *TraceTransport { |
|
|
|
return &TraceTransport{RoundTripper: rt, peerService: peerService, internalTags: internalTags} |
|
|
|
return &TraceTransport{RoundTripper: rt, peerService: peerService, internalTags: internalTags} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|