Documentation
¶
Index ¶
Constants ¶
View Source
const SlowQueryThreshold = 250 * time.Millisecond
Variables ¶
This section is empty.
Functions ¶
func IsNetworkError ¶
Types ¶
type CircuitBreaker ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(params ClientParams) (Client, error)
func (Client) BreakOnNetworkError ¶
func (Client) GetCircuitBreaker ¶
func (c Client) GetCircuitBreaker() CircuitBreaker
func (Client) IsAvailable ¶
Click to show internal directories.
Click to hide internal directories.