td

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectLogger

func InjectLogger(client *http.Client, logger logr.Logger)

Types

type Client

type Client struct {
	http.Client
}

type TransportDumper

type TransportDumper struct {
	http.RoundTripper
	// contains filtered or unexported fields
}

func New

func New(next http.RoundTripper, logger logr.Logger) *TransportDumper

func (*TransportDumper) RoundTrip

func (t *TransportDumper) RoundTrip(r *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL