Imports github.com/gorilla/websocket github.com/google/uuid github.com/gorilla/mux github.com/mattn/go-sqlite3 github.com/eclipse/paho.mqtt.golang github.com/rs/cors Standard library imports database/sql encoding/json fmt log net/http os os/signal strconv strings time