Documentation ¶
Index ¶
- func WithCircuitBreaker(dest, src string, consulClient consul.Client, uniqueID int64, ...) []client.Option
- func WithRPCTimeout(dest, src string, consulClient consul.Client, uniqueID int64, ...) []client.Option
- func WithRetryPolicy(dest, src string, consulClient consul.Client, uniqueID int64, ...) []client.Option
- type ConsulClientSuite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCircuitBreaker ¶
func WithCircuitBreaker(dest, src string, consulClient consul.Client, uniqueID int64, opts utils.Options) []client.Option
WithCircuitBreaker sets the circuit breaker policy from consul configuration center.
Types ¶
type ConsulClientSuite ¶
type ConsulClientSuite struct {
// contains filtered or unexported fields
}
func (*ConsulClientSuite) Options ¶
func (s *ConsulClientSuite) Options() []client.Option
Options return a list client.Option
Click to show internal directories.
Click to hide internal directories.