http

package
v0.0.0-...-3eda982 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientPool

func NewClientPool(ctx context.Context, cc ClientConstructor, size uint32) scan.RequesterBuilder

NewClientPool instantiates a pooled (limited) Client constructor, with a maximum of [size] concurrent requesters.

Take a look at [pool_test.go] for usage examples.

Types

type ClientConstructor

type ClientConstructor func() scan.Requester

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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