Provides the following functionality for Google Cloud Messaging:
- Sending messages via HTTP or XMPP.
- Listening to receiving messages from XMPP.
Documentation: http://godoc.org/github.com/rounds/go-gcm
$ go get github.com/rounds/go-gcm
This is a rework of go-gcm library. It has the following improvements:
- code refactored, HTTP and XMPP clients separated
- monitors XMPP connection with Pings, redials when ping fails
- handles CONNECTION_DRAINING properly
- graceful close
- improved logging with logrus
- ginkgo tests
- various govet/golint fixes
- automatic builds with Travis and coverage with Codecov
This library is in Beta. We will make an effort to support the library, but we reserve the right to make incompatible changes when necessary.
Please read CONTRIBUTING and raise issues here in Github.