Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHystrixConfig ¶
func NewHystrixConfig(opts ...HystrixConfigFunc) *hystrix.CommandConfig
Types ¶
type HystrixConfigFunc ¶
type HystrixConfigFunc func(*hystrix.CommandConfig)
func ErrorPercentThreshold ¶
func ErrorPercentThreshold(errorPercentThreshold int) HystrixConfigFunc
func RequestVolumeThreshold ¶
func RequestVolumeThreshold(requestVolumeThreshold int) HystrixConfigFunc
func SleepWindow ¶
func SleepWindow(sleepWindow int) HystrixConfigFunc
func Timeout ¶
func Timeout(timeout int) HystrixConfigFunc
Click to show internal directories.
Click to hide internal directories.