Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Circuit ¶
type Circuit struct {
// contains filtered or unexported fields
}
func NewCircuit ¶
func NewCircuit(c CircuitConfig) *Circuit
func (*Circuit) Do ¶
func (c *Circuit) Do(command string, fu CircuitFunc, fallback func(error) error, fi ...CircuitErrorFilter) error
type CircuitConfig ¶
type CircuitErrorFilter ¶
type CircuitFunc ¶
type CircuitFunc func() error
Click to show internal directories.
Click to hide internal directories.