func (w *WebSocket) ReadChannel() <-chan string {
	ch := make(chan string, 16)
	go w.readChannel(ch)
	return ch
}
ReadChannel retrieves a channel from which to read messages out of.
package main
import (
	"net/http"
	"github.com/gorilla/websocket"
)
type WebSocket struct {
	conn      *websocket.Conn
	writeChan chan string
	closed    bool
	url       string
}
func (w *WebSocket) URL() string {
	return w.url
}