Package pusher implements client library for pusher.com
package main
import (
"github.com/oguzbilgic/pusher"
)
func main() {
conn, err := pusher.New("d05049c57n3ielfhfh82")
if err != nil {
panic(err)
}
chatRoomChan := pusher.Channel("chat_room")
messages := tradeChan.Bind("new_message")
for {
msg := <-messages
println(msg.Data.(String))
}
}
http://godoc.org/github.com/oguzbilgic/pusher
The MIT License (MIT)