requests

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRequestWorkers

func StartRequestWorkers(
	requestsWithContext <-chan parser.RequestWithContext,
	responsesWithContext chan<- *responses.ResponseWithContext,
	rateLimitTicker *time.Ticker,
	context *execcontext.Context,
) *sync.WaitGroup

Types

type HttpClient

type HttpClient struct {
	MaxRetries int64
	Client     *http.Client
	Logger     *logger.LeveledLogger
}

func NewHttpClient

func NewHttpClient(context *execcontext.Context) *HttpClient

Jump to

Keyboard shortcuts

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