Documentation ¶
Index ¶
Constants ¶
View Source
const (
USER_AGENT = "go-wrk"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoadCfg ¶
type LoadCfg struct {
// contains filtered or unexported fields
}
func NewLoadCfg ¶
func NewLoadCfg(duration int, goroutines int, testUrl string, reqBody string, method string, host string, header map[string]string, statsAggregator chan *RequesterStats, timeoutms int, allowRedirects bool, disableCompression bool, disableKeepAlive bool, clientCert string, clientKey string, caCert string, http2 bool) (rt *LoadCfg)
func (*LoadCfg) RunSingleLoadSession ¶
func (cfg *LoadCfg) RunSingleLoadSession()
Requester a go function for repeatedly making requests and aggregating statistics as long as required When it is done, it sends the results using the statsAggregator channel
Click to show internal directories.
Click to hide internal directories.