Imports golang.org/x/net/websocket Standard library imports bytes crypto/rand encoding/json errors fmt io io/ioutil log net net/http net/url reflect regexp strconv strings sync time