google

package
v0.1.2-0...-36b1096 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package google provides a way to obtain an http.Client for Google Cloud Platform APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordClient

func RecordClient(ctx context.Context, c *http.Client, opts ...option.ClientOption) (*http.Client, error)

Client converts a client returned from Recorder.Client to one configured for Google Cloud Platform APIs.

Provide authentication options like option.WithTokenSource as you normally would, or omit them to use Application Default Credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL