diff options
Diffstat (limited to 'vendor/google.golang.org/api/internal')
-rw-r--r-- | vendor/google.golang.org/api/internal/settings.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/google.golang.org/api/internal/settings.go b/vendor/google.golang.org/api/internal/settings.go new file mode 100644 index 0000000..eb9300c --- /dev/null +++ b/vendor/google.golang.org/api/internal/settings.go @@ -0,0 +1,21 @@ +// Package internal supports the options and transport packages. +package internal + +import ( + "net/http" + + "golang.org/x/oauth2" + "google.golang.org/grpc" +) + +// DialSettings holds information needed to establish a connection with a +// Google API service. +type DialSettings struct { + Endpoint string + Scopes []string + TokenSource oauth2.TokenSource + UserAgent string + HTTPClient *http.Client + GRPCDialOpts []grpc.DialOption + GRPCConn *grpc.ClientConn +} |