Documentation
¶
Overview ¶
Package tool drives an external load tool (k6, vegeta, ghz) as a rig load generator: the tool runs as a child process at the current rate and its per-request results stream back into the counters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Target string `yaml:"target"`
Method string `yaml:"method"`
Body string `yaml:"body"`
Headers map[string]string `yaml:"headers"`
Rate float64 `yaml:"rate"`
// k6
Script string `yaml:"script"`
VUs int `yaml:"vus"`
// ghz
Proto string `yaml:"proto"`
Call string `yaml:"call"`
Data string `yaml:"data"`
Insecure bool `yaml:"insecure"`
Args []string `yaml:"args"`
}
Click to show internal directories.
Click to hide internal directories.