http

package
v10.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface{}

type RoundTripper

type RoundTripper = http.RoundTripper

type TelemeterClient

type TelemeterClient struct {
	// contains filtered or unexported fields
}

func NewTelemeterClient

func NewTelemeterClient(tel *telemetry.Telemeter, opts ...telemetry.StartSpanOption) *TelemeterClient

func NewTelemeterClientFrom

func NewTelemeterClientFrom(client *http.Client, tel *telemetry.Telemeter, opts ...telemetry.StartSpanOption) *TelemeterClient

func (*TelemeterClient) HTTPClient

func (c *TelemeterClient) HTTPClient() *http.Client

type TelemeterRoundTripper

type TelemeterRoundTripper struct {
	// contains filtered or unexported fields
}

func (*TelemeterRoundTripper) RoundTrip

func (rt *TelemeterRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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