Imports github.com/gorilla/websocket github.com/google/uuid github.com/eclipse/paho.mqtt.golang github.com/Safecast/ttdefs Standard library imports bytes crypto/tls encoding/json fmt io io/ioutil math net net/http net/url os path/filepath strconv strings sync text/template time