Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryable ¶
IsRetryable reports whether err should be retried. It returns true when:
- err satisfies RetryableError and its Retryable method returns true, or
- err is a googleapi.Error with an HTTP 429 or 5xx status code.
func NewService ¶
func NewService(ctx context.Context, creds *google.Credentials) (*androidpublisher.Service, error)
NewService creates an authenticated androidpublisher.Service using the provided Google credentials. The returned service can be used to interact with the Google Play Developer API v3.
Types ¶
type RetryableError ¶
RetryableError is implemented by errors that can indicate whether a retry is appropriate. Types satisfying this interface allow the retry logic to distinguish transient failures from permanent ones.
Click to show internal directories.
Click to hide internal directories.