Skip to content

peteryj/nsq_chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nsq_chatroom

A Go program which implements a simple chat room based on NSQ. This application is my first program under Go. It is based on nsq, which is a message distribution system developed by Go. It supports to explicitly bind to one nsqd and communicate with each other through the same 'room', which is corresponding to a topic in nsq. TODO: Add supporting of nsqlookupd, so that we could connect to more nsqd automatically.

Requirement

  1. latest NSQ software, e.g. 0.2.27
  2. Go 1.2.1

User Guide

  1. start nsqd
  2. start nsq_chatroom, specified with nsqd tcp port
  3. CLI: r - user name
    e - enter a room
    l - leave
    s - say something h - help
    q - quit

About

A Go program which implements a simple chat room based on NSQ.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages