Skip to content

jun-hf/chatroom_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatroom_go

A chatroom built with Go

Design

When a connection comes into the server, the server will create a client. image

Within the connection, the client can publish a message into the server's channel. As an action and the server will process the action concurrently. image

Get started

  1. git clone the latest version of this codebase
  2. run go run .
  3. Open a new terminal and enter telnet localhost 8080
  4. Given yourself a name /name <name>
  5. Join a room /join <room name>
  6. Send a message to the room /msg <msg>
  7. leave the room /leave

About

A chatroom built with Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages