Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Conversation

@matsuoky
Copy link

usage:

import (
"github.com/google/go-gcm"
"net/http"
"appengine"
"appengine/urlfetch"
)

var key = "your api key"

c := appengine.NewContext(r)
client := urlfetch.Client(c)
gcm.Client = client
m := gcm.HttpMessage{RegistrationIds: regIDs, Data: data}
_, err := gcm.SendHttp(key, m)

@matsuoky
Copy link
Author

For fix issue #12.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants