Imports github.com/go-resty/resty/v2 github.com/eclipse/paho.mqtt.golang Standard library imports encoding/json fmt log math net/url os os/signal strconv time