Documentation
¶
Index ¶
- type Vegeta
- func (v *Vegeta) AddMeta(key string, data interface{})
- func (v *Vegeta) AddTarget(name string, target vegeta.Targeter)
- func (v *Vegeta) Attack() vegeta.Metrics
- func (v *Vegeta) AutoAttack(autoParams func(qps, cycle int) (nqps, ncycle int), ...) (ms []vegeta.Metrics)
- func (v *Vegeta) GetMeta(key string) interface{}
- func (v *Vegeta) Workers(workers int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vegeta ¶
type Vegeta struct {
//报表属性
ReportPlot, ReportText, ReportHDRHistogramPlot bool
ReportPlotFile, ReportTextFile, ReportHDRHistogramPlotFile *os.File
ReportPlotLabel plot.Labeler
ResultFunc func(*vegeta.Result)
// contains filtered or unexported fields
}
vegeta 配置对象
Click to show internal directories.
Click to hide internal directories.