Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetFuncOption ¶
type GetFuncOption struct {
BasicAuth *BasicAuth
}
type Param ¶
type Param interface { Request(r *http.Request, options *RequestOptions) (Response, error) // Start at 0, range is [0, RunnerGroup.Number) ID() int // Start at 0, each group has its own iteration. Iter() int // Report an error, // metricType is used to identify a type of errors. AddErrorMetric(err error, metricType string) // Report a metric point. AddMetric(*metric.Metric) }
type RequestOptions ¶
type RequestOptions struct { // Used to identify a type of requests, // If don't set type, default set to request's URL. MetricType string }
Click to show internal directories.
Click to hide internal directories.