Versions in this module Expand all Collapse all v1 v1.0.1 Dec 22, 2019 v1.0.0 Sep 24, 2019 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