ladrift / chatroom

A simple chatroom implements like the demo in this talk. https://talks.golang.org/2012/chat.slide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chatroom

A simple chatroom demo from this talks implemented by websocket. Chatroom will match up every two person who enter this website. It can support multiple chatting simultaneously benefit from Go's concurrent feature:

  • goroutine
  • channel

Install

First, install Go Then,

$ go get github.com/ladrift/chatroom

and run

$ $GOPATH/bin/chatroom

Go to visit http://localhost:4000/ in your browser. You can open two windows to simulate two chatting persons.

License

MIT

About

A simple chatroom implements like the demo in this talk. https://talks.golang.org/2012/chat.slide

License:MIT License


Languages

Language:Go 60.4%Language:HTML 39.6%