Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] eclipse / paho.mqtt.golang synchronisation

Hi Folks,

I'm hoping I found the right mailing list for my question.
At the following github they said I should use the mailing lists from the

I'm new with golang and want to use the mqtt paho library:

Now I want to create multiple go routines which uses the same mqtt.Client
to call Publish(...).

Can I do this or need I a mutex (lock und unlock) around of Publish() ?

Or is that a bad Idea and I should use a own mqtt.Client for every go


Back to the top