_examples/chat_json/readme.md
raw| 1 | Example demonstrates a simple chat with JSON protocol. |
| 2 | |
| 3 | Client uses Websocket by default, but you can simply uncomment one line in `index.html` to use SockJS instead. |
| 4 | |
| 5 | To start example run the following command from example directory: |
| 6 | |
| 7 | ``` |
| 8 | go run main.go |
| 9 | ``` |
| 10 | |
| 11 | Then go to http://localhost:8000 to see it in action. |