Basic proto code here to get you up and running with MQTT and Golang. Listens to MQTT packets and routes via websocket to a Web based front end. This code formed the basis for commercial IoT in RV Systems. As always use at own risk and have fun. Will try and update as time permits.