Imports github.com/jackc/pgx/v4 github.com/eclipse/paho.mqtt.golang github.com/jackc/pgx/v4/pgxpool Standard library imports context encoding/json errors fmt io/ioutil net/http strconv sync crypto/sha256 sync/atomic time