/presence

a simple presence system in Go.

Primary LanguageGo

a really simple presence system, the basis for the thing that tells you if your chat friends are online and keeps everyone updated on status and presence changes.

an example of a problem that can be concisely and quickly solved with Go's built-in features: channels, goroutines, maps.

credit to: https://gist.github.com/1316852 for a websocket example with the hub