Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomByte ¶
RandomByte returns a random byte array with length
func RandomString ¶
RandomString return a random string with length
func SleepRateLinear ¶
SleepRateLinear put the program in sleep state for a certain time sleep time is a linear distribution with rps (rate per second) return the sleep time in micro seconds
func SleepRatePoisson ¶
SleepRatePoisson put the program in sleep state for a certain time sleep time is a poisson distribution with rps (rate per second) return the sleep time in micro seconds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.