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

accept appengine users #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

2 participants