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