network

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultTransportWrapper

func DefaultTransportWrapper(rt http.RoundTripper) http.RoundTripper

DefaultTransportWrapper wraps the provided roundtripper with default settings.

Types

type DialContext

type DialContext func(ctx context.Context, network, address string) (net.Conn, error)

func DefaultDialContext

func DefaultDialContext() DialContext

DefaultDialContext returns a DialContext function from a network dialer with default options sets.

Jump to

Keyboard shortcuts

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