httpclient

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(timeout time.Duration) *http.Client

New returns an *http.Client backed by the shared connection pool. The timeout applies per-request (including redirects, reading body, etc.).

func NewNoRedirect

func NewNoRedirect(timeout time.Duration) *http.Client

NewNoRedirect returns an *http.Client that does not follow redirects. Used by health checks to see the raw status code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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