Versions in this module Expand all Collapse all v1 v1.1.1 Apr 24, 2020 Changes in this version type Preset + TLSConfig *tls.Config v1.1.0 Apr 24, 2020 Changes in this version + type ConcurrentGraph []RequestsPerTime + type HitsGraph []RequestsPerTime + type Preset struct + Hook syncedtrace.TraceHookType + NewRequest func(uniqueId string) (*http.Request, error) + ResultCh chan *engine.TraceResult + func New(newRequest func(uniqueId string) (*http.Request, error), ...) *Preset + func (p *Preset) ConcurrentForTimeGraph(concurrentGraph ConcurrentGraph) *PresetResult + func (p *Preset) ConcurrentRequestsSynced(concurrencyLimit uint64, reqDelay time.Duration, duration time.Duration) *PresetResult + func (p *Preset) ConcurrentRequestsSyncedOnce(concurrencyLimit uint64, reqDelay time.Duration) *PresetResult + func (p *Preset) ConcurrentRequestsUnsynced(maxConcurrencyLimit uint64, reqDelay time.Duration, duration time.Duration) *PresetResult + func (p *Preset) RequestPerDuration(reqDelay time.Duration, duration time.Duration) *PresetResult + func (p *Preset) RequestsForTimeGraph(hitsGraph HitsGraph) *PresetResult + type PresetResult struct + Done time.Time + MaxConcurrent uint64 + ReqCount uint64 + Start time.Time + type PresetType int + const ConcurrentForTimeGraph + const ConcurrentRequestsSynced + const ConcurrentRequestsSyncedOnce + const ConcurrentRequestsUnsynced + const PresetCount + const RequestPerDuration + const RequestsForTimeGraph + func (pt PresetType) String() string + type RequestsPerTime struct + Concurrent uint64 + Time time.Duration