Imports github.com/gorilla/websocket github.com/hashicorp/golang-lru github.com/jpillora/backoff github.com/matterbridge/logrus-prefixed-formatter github.com/mattermost/mattermost/server/public/model github.com/sirupsen/logrus Standard library imports context crypto/md5 crypto/tls encoding/json errors fmt net/http net/http/cookiejar net/url strconv strings sync time