Documentation ¶
Overview ¶
The serviceaccount package provides support for making OAuth2-authorized HTTP requests from App Engine using service accounts.
See: https://developers.google.com/appengine/docs/go/reference#AccessToken
Example usage:
c := appengine.NewContext() client, err := serviceaccount.NewClient(c, "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/bigquery") if err != nil { c.Errorf("failed to create service account client: %q", err) return err } client.Post("https://www.googleapis.com/compute/...", ...) client.Post("https://www.googleapis.com/bigquery/...", ...)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.