Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIdNotFound = errors.New("id not found")
Functions ¶
func RandomByte ¶
RandomByte returns a random byte array with length
func RandomString ¶
RandomString return a random string with length
func Setup ¶
Setup starts the gobench program by creating a collect entity and database to store units
func SleepLinear ¶
SleepLinear 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 SleepPoisson ¶
SleepPoisson 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 ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
http
command
|
|
|
mqtt/1_to_1
command
|
|
|
mqtt/fan_in
command
|
|
|
mqtt/fan_out
command
|
|
|
mqtt/query
command
|
|
|
nats
command
|
|
|
services
|
|
|
tools
|
|
|
gobench-viewer
command
|
|
|
workers
|
|
Click to show internal directories.
Click to hide internal directories.
