Imports github.com/satori/go.uuid github.com/x-cray/logrus-prefixed-formatter github.com/eclipse/paho.mqtt.golang/packets github.com/gorilla/websocket github.com/namsral/flag github.com/sirupsen/logrus Standard library imports encoding/pem bytes crypto/tls crypto/x509 encoding/json errors io/ioutil net net/http os os/signal strconv sync sync/atomic syscall time