Skip to content

volodimyr/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chat

CLI chat. User can run multiple clients

###Requirements

  • Both client and server should be console apps. Users send messages to chat via stdin prompt
  • Users must specify their names when joining the chat
  • Each message is broadcasted to all chat members
  • Same user (identified by the same name) can have multiple simultaneous clients running.
  • Online status calculation: a user is "online" when he/she has at least one client running, otherwise the user is "offline".
  • The server must notify all chat members when some user comes online or goes offline.

Should look like: server: Alice is online server: Bob is online Alice: anybody home? Bob: hi server: Alice is offline

  • Client and server should be written in golang
  • Any network protocols can be used
  • Clean, readable code. Simplicity is a plus (- All errors and network failures must be handled)

About

CLI chat. User can run multiple clients

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages