Imports github.com/gorilla/websocket github.com/mitchellh/go-homedir golang.org/x/crypto/nacl/box golang.org/x/crypto/nacl/secretbox golang.org/x/oauth2/clientcredentials Standard library imports bufio bytes context crypto/rand encoding/base64 encoding/json errors fmt io io/ioutil net/http net/http/httputil net/url os path/filepath strings time