httptransport

package
v0.28.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package httptransport implements initialization of http.Transport instances and related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *http.Transport

New returns a reference to an http.Transport that's initialized just like the http.DefaultTransport is by the standard library.

Types

type Wrapper

type Wrapper func(*http.Transport) http.RoundTripper

Wrapper wraps the set of functions mapping http.Transport references to http.RoundTripper.

func NoopWrapper

func NoopWrapper() Wrapper

NoopWrapper returns a Wrapper that simply casts its provided http.Transport to an http.RoundTripper.

Jump to

Keyboard shortcuts

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