Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Retry ¶ added in v0.5.0
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.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package atomiccache provides a map-based cache that supports very fast reads.
|
Package atomiccache provides a map-based cache that supports very fast reads. |
Package fields provides a view of the fields of a struct that follows the Go rules, amended to consider tags and case insensitivity.
|
Package fields provides a view of the fields of a struct that follows the Go rules, amended to consider tags and case insensitivity. |
Package optional provides versions of primitive types that can be nil.
|
Package optional provides versions of primitive types that can be nil. |
Package pretty implements a simple pretty-printer.
|
Package pretty implements a simple pretty-printer. |
Package rpcreplay supports the capture and replay of gRPC calls.
|
Package rpcreplay supports the capture and replay of gRPC calls. |
proto/rpcreplay
Package rpcreplay is a generated protocol buffer package.
|
Package rpcreplay is a generated protocol buffer package. |
Package testutil contains helper functions for writing tests.
|
Package testutil contains helper functions for writing tests. |
Package tracecontext provides encoders and decoders for Stackdriver Trace contexts.
|
Package tracecontext provides encoders and decoders for Stackdriver Trace contexts. |
Package version contains version information for Google Cloud Client Libraries for Go, as reported in request headers.
|
Package version contains version information for Google Cloud Client Libraries for Go, as reported in request headers. |
Click to show internal directories.
Click to hide internal directories.