package
0.120.0
Repository: https://github.com/bojand/ghz.git
Documentation: pkg.go.dev

# Structs

A ConstantPacer defines a constant rate of hits.
ConstWorkerTicker represents a constant number of workers.
LinearPacer paces the hit rate by starting at a given request rate and increasing linearly with the given slope at 1s interval.
LineWorkerTicker is the worker ticker that implements line adjustments to concurrency.
StepPacer paces an attack by starting at a given request rate and increasing or decreasing with steps at a given step interval and duration.
StepWorkerTicker is the worker ticker that implements step adjustments to worker concurrency.
TickValue is the tick value sent over the ticker channel.

# Interfaces

Pacer defines the interface to control the rate of hit.
WorkerTicker is the interface controlling worker parallelism.