Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHijackingUnsupported = errors.New("connection reset simulation requires HTTP/1.x hijacking")
Functions ¶
This section is empty.
Types ¶
type FixedRandom ¶
type FixedRandom struct {
Value float64
}
FixedRandom always returns Value, so effects fire when Value < probability.
func (FixedRandom) Float64 ¶
func (f FixedRandom) Float64() float64
type LockedRandom ¶
type LockedRandom struct {
// contains filtered or unexported fields
}
func NewLockedRandom ¶
func NewLockedRandom(seed *int64) *LockedRandom
func (*LockedRandom) Float64 ¶
func (l *LockedRandom) Float64() float64
type TimerSleeper ¶
type TimerSleeper struct{}
Click to show internal directories.
Click to hide internal directories.