Documentation ¶
Index ¶
- func NewHTTPCommand(cmd *config.Command) routine.Executor
- func NewShellCommand(cmd *config.Command) routine.Executor
- func TransportFrom(ctx context.Context) (http.RoundTripper, bool)
- func WithTransport(ctx context.Context, tr http.RoundTripper) context.Context
- type Bucket
- type HTTPCommand
- type Job
- type LatencyDistribution
- type ReportData
- type Reporter
- type ShellCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShellCommand ¶
NewShellCommand new
func TransportFrom ¶
func TransportFrom(ctx context.Context) (http.RoundTripper, bool)
TransportFrom context
func WithTransport ¶
WithTransport context
Types ¶
type HTTPCommand ¶
type HTTPCommand struct {
// contains filtered or unexported fields
}
HTTPCommand struct
type LatencyDistribution ¶
LatencyDistribution struct
type ReportData ¶
type ReportData struct { AvgTotal float64 Fastest float64 Slowest float64 Average float64 Ops float64 AvgDelay float64 DelayMax float64 DelayMin float64 Lats []float64 Offsets []float64 Codes []int Uptime time.Duration Total time.Duration ErrorDist map[string]int CodeDist map[int]int SizeTotal int64 SuccTotal int64 NumRes int64 LatencyDistribution []LatencyDistribution Histogram []Bucket }
ReportData struct
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter struct
type ShellCommand ¶
type ShellCommand struct {
// contains filtered or unexported fields
}
ShellCommand struct
Click to show internal directories.
Click to hide internal directories.