Skip to content

drauedo/chatapplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOLANG chat application

Chat application

USAGE

Build image:

docker build -t chat

Deploying image by default:

docker run -dp 8080:8080 chat

Deploying image specifying port:

docker run -dp 9090:9090 -e PORT=":9090" chat

Once the server is deployed, you can access it using a telnet:

telnet localhost [PORT]

The available commands are:

  • /nick : Define the user name.

  • /rooms: List all the available rooms

  • /join : Join a room. If it doesn't exist,it creates the room.

  • /msg : Send a message. You need to be in the room to send a message.

  • /quit : Close the connection.

  • /help : List the available commands.

About

Small chat application in Golang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published