cli_chat is a simple CLI based client and server for tcp based chat connection. Both server and client written in Go. You can use telnet too.
Clone this repository.
$ cd /path/to/cloned/repo $ make build
Run the server
Use the client to connect to server
Use telnet to connect to server
telnet 0.0.0.0 8888
- Creates a nice client interface. Using termbox maybe?
Messageshould contains more attribute, like
action. There will be message formatter on the client code that check
Message.action. A good use case would be
actionto retrieve all connected clients, to quit, and to kick another user.
- Allows multiple rooms so that upon initial connection user can join open room after his/her nick is registered.
MIT License - see LICENSE file.