Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageClient ¶
NewStorageClient creates a storage.Client instance and, if the `GCP_CLOUD_STORAGE_EMULATOR_URL` env var is set, then a custom HTTPClient is used, which forwards all requests to the provided URL. Note: [this bug](https://github.com/googleapis/google-cloud-go/issues/2476) prevents the `STORAGE_EMULATOR_HOST` environment variable from working correctly, so this alternative approach is needed when using a Google Cloud Storage emulator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.