Versions in this module Expand all Collapse all v0 v0.1.8 Jun 21, 2024 v0.1.7 Jun 21, 2024 v0.1.6 Jun 18, 2024 Changes in this version + type Bucket struct + Count int + Frequency float64 + Mark float64 + type LatencyDistribution struct + Latency float64 + Percentage int + type Report struct + Average float64 + AvgConn float64 + AvgDNS float64 + AvgDelay float64 + AvgReq float64 + AvgRes float64 + AvgTotal float64 + ConnLats []float64 + ConnMax float64 + ConnMin float64 + DelayLats []float64 + DelayMax float64 + DelayMin float64 + DnsLats []float64 + DnsMax float64 + DnsMin float64 + ErrorDist map[string]int + Fastest float64 + Histogram []Bucket + LatencyDistribution []LatencyDistribution + Lats []float64 + NumRes int64 + Offsets []float64 + ReqLats []float64 + ReqMax float64 + ReqMin float64 + ResLats []float64 + ResMax float64 + ResMin float64 + Rps float64 + SizeReq int64 + SizeTotal int64 + Slowest float64 + StatusCodeDist map[int]int + StatusCodes []int + Total time.Duration + type Work struct + C int + DisableCompression bool + DisableKeepAlives bool + DisableRedirects bool + H2 bool + N int + Output string + ProxyAddr *url.URL + QPS float64 + Request *http.Request + RequestBody []byte + RequestFunc func() *http.Request + Timeout int + Writer io.Writer + func (b *Work) Finish() + func (b *Work) Init() + func (b *Work) Run() + func (b *Work) Stop()