jx: github.com/jenkins-x/jx/pkg/util/trace Index | Files

package trace

import "github.com/jenkins-x/jx/pkg/util/trace"


Package Files


type Tracer Uses

type Tracer struct {

Tracer implements http.RoundTripper. It prints each request and response/error to os.Stderr.

func (*Tracer) RoundTrip Uses

func (t *Tracer) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip calls the nested RoundTripper while printing each request and response/error to os.Stderr on either side of the nested call.

Package trace imports 5 packages (graph) and is imported by 1 packages. Updated 2019-08-23. Refresh now. Tools for package owners.