Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fallback ¶
type Fallback struct {
Clients []Client
}
Fallback tries clients in order, returning the first success. It's itself a Client, so callers can't tell a single provider from a chain. Every provider's error is aggregated so a total failure explains what each one said.
func NewFallback ¶
Click to show internal directories.
Click to hide internal directories.