Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Server *Server
}
Command represents the command executed by `go run sub_benchmark.go`
func (*Command) ParseFlags ¶
ParseFlags parses the args into Options.
type Options ¶
type Options struct { Host string //default: localhost Port string //default: :1883 Username string Password string Qos int Topic string ConnectionInterval int SubscribeInterval int // Number int //number of subscriptios per client Count int //number of clients CleanSession bool Time int //time limit }
Options represents the subscribe benchmark options
Click to show internal directories.
Click to hide internal directories.