Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Server-Client

Run in Docker

docker-compose build
docker-compose up

To connect to the docker instances and run the applications:

docker exec -it server /app/server
docker exec -it client1 /app/client
docker exec -it client2 /app/client
docker exec -it client3 /app/client

Then you can chat from there. If the server is taken offline the connected clients will attempt to reconnect every 5 seconds for a minute before exiting themselves.

If you'd like to inspect the chat-logs:

docker exec -it server /bin/sh
cat server_log.txt

Run locally

If you'd rather run locally

cd server # or client
go run main.go

OR

cd server # or client
go build
./server # or client

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages