little project for GDG Marbella Go course.
go get github.com/marcusolsson/tui-go
Go to server folder and execute
$ go run server.goAfter that you will see in the cosole something like this, if everything works fine ;-)
2020/07/08 15:33:01 Chat server started and listening on :8887Go to client folder, and use the below commmand to launch clients:
$ go run client.go <username>It is important to use a username, if not the program will fail. Error handling is very very poor for now.
Of course you can launch severals clients.
- TCP chat client using a GUI console module (tui-go).
- Chat with more than one user.
- Notify new users.
- Send private message. To do this, use the below sintax:
@<username> message. This message only will appear into chat client.