httputil

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendHTTPRequestWithRetry

func SendHTTPRequestWithRetry(
	ctx context.Context,
	url url.URL,
	httpMethod string,
	data []byte,
	retry func(status int, err error) (bool, error),
	reqTimeout,
	retryInterval time.Duration,
	retryCount int,
) error

SendHTTPRequestWithRetry sends a request with retry logic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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