Documentation ¶
Index ¶
Constants ¶
View Source
const ( HttpClientNetHTTP = "nethttp" HttpClientNetHTTP2 = "nethttp2" HttpClientNetHTTP3 = "nethttp3" HttpClientFastHTTP1 = "fasthttp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseCode ¶
type ResponseCode int
type TotalRequestsComplete ¶
type TotalRequestsComplete int64
type WorkerBase ¶
type WorkerBase struct { CompletedReqs atomic.Int64 FailedReqs atomic.Int64 // contains filtered or unexported fields }
func (*WorkerBase) ReqSize ¶
func (w *WorkerBase) ReqSize() int64
func (*WorkerBase) RespSize ¶
func (w *WorkerBase) RespSize() int64
func (*WorkerBase) Stats ¶
func (w *WorkerBase) Stats() Stats
type WorkerFixedReqs ¶
type WorkerFixedReqs struct {
*WorkerBase
}
func (*WorkerFixedReqs) Run ¶
func (w *WorkerFixedReqs) Run(wg *sync.WaitGroup)
type WorkerFixedTime ¶
type WorkerFixedTime struct {
*WorkerBase
}
func (*WorkerFixedTime) Run ¶
func (w *WorkerFixedTime) Run(wg *sync.WaitGroup)
type WorkerFixedTimeRequests ¶
type WorkerFixedTimeRequests struct {
*WorkerBase
}
func (*WorkerFixedTimeRequests) Run ¶
func (w *WorkerFixedTimeRequests) Run(wg *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.