eclipse / paho.golang

Go libraries
Other
330 stars 92 forks source link

autopaho now provides `Router()` #201

Closed MattBrittan closed 9 months ago

MattBrittan commented 9 months ago

Previously if you wanted to subscribe and register a handler, then both a ConnectionManager and Router would be needed; this complicates passing the client around (or dependency injection).

ref #168