Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 595 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 595 Bytes

go-chat-rpc

A simple chat client and server written in Go, implemented using RPC.

Setup

Start the server via go run server/*.go and then start as many clients as you want via go run client/*.go

Chat Commands

The following special chat commands exist:

  • /create foo creates a chat room named foo
  • /join foo joins a chat room named foo
  • /leave leaves the current chat room
  • /list lists all chat rooms
  • /name foo changes the client name to foo
  • /help lists all commands
  • /quit quits the program

Any other text is sent as a message to the current chat room.