Imports github.com/gorilla/websocket github.com/jessevdk/go-flags golang.org/x/sync/errgroup github.com/rs/zerolog github.com/rs/zerolog/log Standard library imports bufio bytes context encoding/json fmt io io/ioutil math net/http net/url os os/signal path reflect sort strconv strings sync time