A simple chat application built with golang.
For more details and the Design Document, go to our Wiki
Currently our code can get the server to running state and enables other clients to connect to it. Once connected, the username will be shown in server log and the online user list will be updated. Run the server.go
with no parameters to run accept the messages in default port i.e. 3410.
To connect to the running server, use
./client -user <username> -host 192.168.1.3:3410
To connect to the server running in same machine, don't write -host.
Each of the exported functions present in custom packages goofserver
and goofclient
contains comments about their fuctionalities. To view them in command line, use :
$ godoc goofclient <function name>
OR
$ godoc goofserver <function name>
Please note that to make godoc read from our package, the project path should be assigned as GOPATH.
Alternatively, you can view the html documents present in doc
folder which are generated using godoc -html
command