Relax AppEngineConfig to allow RoundTrippers.

This commit is contained in:
Burcu Dogan 2014-09-03 17:20:29 -07:00
parent 8524783bd7
commit 9d55d5b30b
1 changed files with 2 additions and 2 deletions

View File

@ -14,10 +14,10 @@ import (
// AppEngineConfig represents a configuration for an // AppEngineConfig represents a configuration for an
// App Engine application's Google service account. // App Engine application's Google service account.
type AppEngineConfig struct { type AppEngineConfig struct {
// Transport is the transport to be used // Transport is the http.RoundTripper to be used
// to construct new oauth2.Transport instances from // to construct new oauth2.Transport instances from
// this configuration. // this configuration.
Transport *urlfetch.Transport Transport http.RoundTripper
context appengine.Context context appengine.Context
scopes []string scopes []string