Imports github.com/gorilla/websocket github.com/json-iterator/go github.com/pkg/errors github.com/sirupsen/logrus Standard library imports bufio bytes encoding/json errors io net net/http net/url sync time