code: func WSRead(ws *websocket.Conn) {
  	msg := make([]byte, 512)
  	for {
  		n, err := ws.Read(msg)
  		if err != nil {
  			log.Fatal(err)
  		}
  		fmt.Printf("<< %s\n", msg[:n])
  	}
  }
docs: // WSRead reads from a websocket and print the read messages to STDOUT.