Skip to content
 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatServer

A simple, multi-room chat server that stores chat content using its create/2 function and sends it back to the user via its get/1 function.

Usage:

  1. git clone
  2. iex -S mix
  3. ChatServer.Supervisor.start_link
  4. ChatServer.Supervisor.start_room("lobby")
  5. ChatServer.get("lobby") #=> []
  6. ChatServer.create("lobby", "hello world")
  7. ChatServer.get("lobby") #=> [%ChatServer.Message{content: "hello world", username: "anon"}]

About

Simple Elixir Chat Server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages