Help us shape the future of Go! Take the 2026 Go Developer Survey

examples/

directory
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2026 License: Apache-2.0

Directories

Path Synopsis
Command concurrency shares one client between goroutines.
Command concurrency shares one client between goroutines.
Command logging gives the client a log/slog logger.
Command logging gives the client a log/slog logger.
Command options shows a client's settings and a call's: the forms a state may take, a question given as raw fields, and the options that override the client's deadline, retries and headers for one call.
Command options shows a client's settings and a call's: the forms a state may take, a question given as raw fields, and the options that override the client's deadline, retries and headers for one call.
Command quickstart asks the TypeSafe API one question about a support ticket and prints the answer.
Command quickstart asks the TypeSafe API one question about a support ticket and prints the answer.
Command retries sets a retry policy for a client and for one call, and tells the errors of a call apart once its retries are spent.
Command retries sets a retry policy for a client and for one call, and tells the errors of a call apart once its retries are spent.
Command transport gives the client a transport of its own: an *http.Transport the SDK clones and configures, or any http.RoundTripper, used as it is.
Command transport gives the client a transport of its own: an *http.Transport the SDK clones and configures, or any http.RoundTripper, used as it is.
Command typed declares its questions as a struct: each tagged field is a question, and receives its answer.
Command typed declares its questions as a struct: each tagged field is a question, and receives its answer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL