Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 documentations

Any pull requests to improve the repo are welcomed