https://github.com/vmward/go-chat-room
Chat client and server implemented in Go for students to communicate and collaborate.
https://github.com/vmward/go-chat-room
Last synced: over 1 year ago
JSON representation
Chat client and server implemented in Go for students to communicate and collaborate.
- Host: GitHub
- URL: https://github.com/vmward/go-chat-room
- Owner: VMward
- License: mit
- Created: 2020-10-18T05:01:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T04:44:25.000Z (over 5 years ago)
- Last Synced: 2023-03-07T16:03:42.789Z (over 3 years ago)
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Go Chat
[](https://github.com/social-learning/go-chat-room)
[](https://github.com/social-learning/TensorMap)
[](https://www.linkedin.com/company/social-learning/)
A client-server chat app implemented in Go using gRPC.
## Usage
### Server
Start the server by running `go run server.go`. Alternatively, you can run `go build` while in the Server directory.
### Client
Start the client(s) by running `go run client.go menu.go`. Alternatively, you can run `go build` while in the Client directory.
To run navigate the client:
* First enter the server ip:port exactly. It is likely `localhost:12021` unless the port at the top of server.go has changed.
* Then you'll enter a username that is yours for the session.
* Finally, you are greeted by the menu system which will allow you to create, join, or view other members and groups.
## Known Bugs
* None currently. If you run into any problems, please don't hesistate to create an issue.
## Notes
* To disconnect from the server, press ctrl+c or type `!exit` (hit enter) and the client will disconnect from the server.
* To move backwards in the menu system, you can type `!back` (hit enter).
* This client/server assumes a 12021 server port. This can be changed in the server.go file near the top.
## Future Ideas
* The !leave function to leave a chat and go back to the main menu.
* Encryption on chat channels.
* Ability to send files.
* Complete server re-write to be more extendible and understandable.