Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomEventProvider ¶
type RandomEventProvider struct {
// contains filtered or unexported fields
}
RandomEventProvider fuzzing utility.
func NewRandomEventProvider ¶
func NewRandomEventProvider() *RandomEventProvider
NewRandomEventProvider is a RandomEventProvider constructor.
func (*RandomEventProvider) Reset ¶
func (re *RandomEventProvider) Reset()
Reset clears the RandomEventProvider.
func (*RandomEventProvider) WithProbability ¶
func (re *RandomEventProvider) WithProbability(p float32) bool
WithProbability randomly provides true, according to cumulated probabilities.
Click to show internal directories.
Click to hide internal directories.