eclipse / paho.golang

Go libraries
Other
330 stars 92 forks source link

consistent config structure in autopaho and rename "broker" to "server" #188

Closed MattBrittan closed 10 months ago

MattBrittan commented 10 months ago

The autopaho config was a mix of public fields and private fields with setters. This change makes everything public in line with paho. The setters have been left for compatability.

Also remove the term "broker" because this is not used in the MQTT spec so is likely to be confusing.

Closes #174