Documentation ¶
Index ¶
- func Configure(cmds map[string]CommandConfig)
- func ConfigureCommand(name string, config CommandConfig)
- func ConfigureDefault(config CommandConfig)
- func IsCircuitOpenError(err error) bool
- func IsMaxConcurrencyError(err error) bool
- func IsTimeoutError(err error) bool
- func NewClientWrapper() client.Wrapper
- type CommandConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(cmds map[string]CommandConfig)
Configure applies settings for a set of circuits
func ConfigureCommand ¶
func ConfigureCommand(name string, config CommandConfig)
ConfigureCommand applies settings for a circuit
func ConfigureDefault ¶
func ConfigureDefault(config CommandConfig)
ConfigureDefault applies default settings for all circuits
func IsCircuitOpenError ¶
IsCircuitOpenError represents err is hystrix circuit open error
func IsMaxConcurrencyError ¶
IsMaxConcurrencyError represents err is hystrix max concurrency err
func IsTimeoutError ¶
IsTimeoutError represents err is hystrix circuit timeout error
func NewClientWrapper ¶
NewClientWrapper returns a hystrix client Wrapper.
Types ¶
Click to show internal directories.
Click to hide internal directories.