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. .gitignore
  2. CODE_OF_CONDUCT.md
  3. CONTRIBUTING.md
  4. LICENSE
  5. README.md
  6. RELEASING.md
  7. call_option.go
  8. gax.go
  9. go.mod
  10. go.sum
  11. header.go
  12. internal/
  13. invoke.go
  14. tools.go
  15. v2/
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.