Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/issadarkthing/gochat
Simple go websocket example
https://github.com/issadarkthing/gochat
chat example go tview websocket websocket-chat
Last synced: 1 day 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 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-08T04:26:42.000Z (about 4 years ago)
- Last Synced: 2024-04-17T19:14:20.456Z (7 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).![gochat](/gochat.png)
## 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