这是一个基于WebSocket
使用Go语言
编写的聊天室.
代码参考了这篇文章http://gary.beagledreams.com/page/go-websocket-chat.html
go build
编译以后通过 ./GoChatRoom -h
查看帮助
Usage of ./GoChatRoom:
-addr=":8177": http service address
-mf=2: message's frequency(>second/msg)
-size=50: max size of the message's queue