Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Golang Client File-store and offline buffering


I'm trying to use the golang client for an IoT like setup, my main enemy is connection issues and power loss (device restarts)

1st problem is when i start the program.. if it cant reach the server it will crash. therefor i wont be able to queue the messages to send them when the connection is restored.

2nd issue is the file storage.. i cant find a way to reopen the store after program crash or restart.. the messages will just disappear 

sorry if this has been answered before but i cant seem to find a clue 


Back to the top