chat
# Handle Chat Index Page
```go
func Chat(writer http.ResponseWriter, request *http.Request)
```
## Description
Connected by httplink like: `http://127.0.0.1/chat?id=1&token=xxxx`
Called by http.HandleFunc from main, check the userID and token, then start the sending and receiving go routine and the websockets, new a Node strcut, connected with websocket.conn;
Also loads the friend and group list