# Functions
CombineBodyMedia combines a json body with media content to create a multipart/related HTTP body.
DecodeResponse decodes the body of res into target.
DefaultBackoffStrategy returns a default strategy to use for retrying failed upload requests.
DetermineContentType determines the content type of the supplied reader.
GoogleClientHeader returns the value to use for the x-goog-api-client header, which is used internally by Google.
MarshalJSON returns a JSON encoding of schema containing only selected fields.
NewInfoFromMedia should be invoked from the Media method of a call.
NewInfoFromResumableMedia should be invoked from the ResumableMedia method of a call.
No description provided by the author
PrepareUpload determines whether the data in the supplied reader should be uploaded in a single request, or in sequential chunks.
ReaderAtToReader adapts a ReaderAt to be used as a Reader.
RegisterHook registers a Hook to be called before each HTTP request by a generated API.
Retry invokes the given function, retrying it multiple times if the connection failed or the HTTP status response indicates the request should be attempted again.
SendRequest sends a single HTTP request using the given client.
SetGetBody sets the GetBody field of req to f.
No description provided by the author
# Structs
ExponentialBackoff performs exponential backoff as per https://en.wikipedia.org/wiki/Exponential_backoff.
MediaBuffer buffers data from an io.Reader to support uploading media in retryable chunks.
MediaInfo holds information for media uploads.
ResumableUpload is used by the generated APIs to provide resumable uploads.
# Interfaces
No description provided by the author
# Type aliases
Hook is the type of a function that is called once before each HTTP request that is sent by a generated API.
JSONFloat64 is a float64 that supports proper unmarshaling of special float values in JSON, according to https://developers.google.com/protocol-buffers/docs/proto3#json.
URLParams is a simplified replacement for url.Values that safely builds up URL parameters for encoding.