https://github.com/issadarkthing/gochat
Simple go websocket example
https://github.com/issadarkthing/gochat
chat example go tview websocket websocket-chat
Last synced: 30 days ago
JSON representation
Simple go websocket example
- Host: GitHub
- URL: https://github.com/issadarkthing/gochat
- Owner: issadarkthing
- License: gpl-3.0
- Created: 2020-08-28T04:16:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-08T04:26:42.000Z (about 5 years ago)
- Last Synced: 2025-06-02T07:39:22.276Z (4 months ago)
- Topics: chat, example, go, tview, websocket, websocket-chat
- Language: Go
- Homepage:
- Size: 565 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gochat
Simple websocket example using [gorilla](https://github.com/gorilla/websocket).
## Build
To build, simply run
```sh
$ make
```## Usage
We need to start the server first in order for clients to connect.
```sh
$ ./bin/server
```
Let's fire up our chat app.
```sh
$ ./bin/gochat
```## TODO
- add encryption
- add documentationsAny pull requests to improve the repo are welcomed