Skip to content

A centralized chat application built in Go, using RPC for communication.

Notifications You must be signed in to change notification settings

joshheinrichs/go-chat-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A centralized chat application built in Go, using RPC for communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages