executor

package
v0.0.0-...-ff54ef9 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	Request          *http.Request
	RequestBody      []byte
	NumberOfRequests int // Total number of requests to make
	NumberOfThreads  int // Maximum number concurrent workers
	RequestTimeout   int

	ProcessedChannel chan bool
	// contains filtered or unexported fields
}

func New

func New(
	request *http.Request,
	requestBody []byte,
	numberOfRequests int,
	numberOfThreads int,
	requestTimeout int,
	results chan report.RequestResult,
	parser parser,
) *Executor

func (*Executor) Start

func (e *Executor) Start()

func (*Executor) Stop

func (e *Executor) Stop()

Jump to

Keyboard shortcuts

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