| 1 |
Example demonstrates simple chat with JSON protocol using https://github.com/nhooyr/websocket library. |
| 2 |
|
| 3 |
To start example run the following command from example directory: |
| 4 |
|
| 5 |
``` |
| 6 |
go run main.go |
| 7 |
``` |
| 8 |
|
| 9 |
Then go to http://localhost:8000 to see it in action. |