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 ¶ added in v1.0.1
func Configure(cmds map[string]CommandConfig)
Configure applies settings for a set of circuits
func ConfigureCommand ¶ added in v1.0.1
func ConfigureCommand(name string, config CommandConfig)
ConfigureCommand applies settings for a circuit
func ConfigureDefault ¶ added in v1.0.2
func ConfigureDefault(config CommandConfig)
ConfigureDefault applies default settings for all circuits
func IsCircuitOpenError ¶ added in v1.0.2
IsCircuitOpenError represents err is hystrix circuit open error
func IsMaxConcurrencyError ¶ added in v1.0.2
IsMaxConcurrencyError represents err is hystrix max concurrency err
func IsTimeoutError ¶ added in v1.0.2
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.