package internal
import "cloud.google.com/go/internal"
Index ¶
Functions ¶
func Retry ¶
Retry calls the supplied function f repeatedly according to the provided backoff parameters. It returns when one of the following occurs: When f's first return value is true, Retry immediately returns with f's second return value. When the provided context is done, Retry returns with an error that includes both ctx.Error() and the last error returned by f.
Source Files ¶
retry.go
Directories ¶
Path | Synopsis |
---|---|
internal/atomiccache | Package atomiccache provides a map-based cache that supports very fast reads. |
internal/fields | Package fields provides a view of the fields of a struct that follows the Go rules, amended to consider tags and case insensitivity. |
internal/optional | Package optional provides versions of primitive types that can be nil. |
internal/pretty | Package pretty implements a simple pretty-printer. |
internal/readme | |
internal/rpcreplay | Package rpcreplay supports the capture and replay of gRPC calls. |
internal/rpcreplay/proto | |
internal/rpcreplay/proto/intstore | Package intstore is a generated protocol buffer package. |
internal/rpcreplay/proto/rpcreplay | Package rpcreplay is a generated protocol buffer package. |
internal/testutil | Package testutil contains helper functions for writing tests. |
internal/tracecontext | Package tracecontext provides encoders and decoders for Stackdriver Trace contexts. |
internal/version | Package version contains version information for Google Cloud Client Libraries for Go, as reported in request headers. |
- Version
- v0.9.0
- Published
- Jun 21, 2017
- Platform
- darwin/amd64
- Imports
- 4 packages
- Last checked
- 2 minutes ago –
Tools for package owners.