An extension to support chat in sago. Adds an action called "chat" that will distribute a "chat" action back to the client for all connected sessions.
Install and import
$ go get github.com/craigjackson/sago_chat
import "github.com/craigjackson/sago_chat"
Before Run(), Init sago_chat:
func main() {
// ...
sago_chat.Init()
// ...
sago.Run()
}
The MIT License - Copyright (c) 2013 Craig Jackson