option

package
v0.0.0-...-dde4e3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultClients = 10
	DefaultCounts  = 1000

	DefaultTopic = "/mqtt-bench/benchmark"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Qos               byte
	Retain            bool
	UseDefaultHandler bool
	Broker            string
	Topic             string
	Username          string
	Password          string
	Clients           int
	Count             int
	IntervalTime      int
	MessageSize       int
}

Options contains the mqtt-bench options which are loaded from command line flags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL