Skip to content
Advertisement

Tag: go

VerneMQ single publish messages lost when client is offline

I am quite new to MQTT and brokers, but I am having an issue with VerneMQ not sending offline messages to clients. Here is my setup. I have a backend written in Python which is using the Paho Eclipse MQTT library’s single() method to send messages to a connected client. The client, a virtual machine on my development station, has

Accessing C array in golang

I have two files, module.go and test.py. My goal is to speed up some calculations that is done in python, but have an issue accessing array of integers in go. module.go and simple test file in python: After compiling go module with go build -buildmode=c-shared -o gomodule.so module.go and fire up python file I got: I get that C array

Advertisement