better docs around Backoff (#95)


- Use "retry period" instead of "retry envelope", since period is a well known
  term describing one complete cycle.
- Add note that Backoff does not have a MaxNumRetries/RetryDeadline, which is a
  common question.
- Add example of using Backoff with an HTTP client, since the OnCodes example is
  grpc-specific.
4 files changed
tree: e7bb0db314832ebd58a4e17d7d416209bc074076
  1. internal/
  2. v2/
  3. .gitignore
  4. call_option.go
  5. CODE_OF_CONDUCT.md
  6. CONTRIBUTING.md
  7. gax.go
  8. go.mod
  9. go.sum
  10. header.go
  11. invoke.go
  12. LICENSE
  13. README.md
  14. RELEASING.md
  15. tools.go
README.md

Google API Extensions for Go

GoDoc

Google API Extensions for Go (gax-go) is a set of modules which aids the development of APIs for clients and servers based on gRPC and Google API conventions.

To install the API extensions, use:

go get -u github.com/googleapis/gax-go/v2

Note: Application code will rarely need to use this library directly, but the code generated automatically from API definition files can use it to simplify code generation and to provide more convenient and idiomatic API surface.

Go Versions

This library requires Go 1.6 or above.

License

BSD - please see LICENSE for more information.